MapInfo Pro Developers User Group

Welcome to the MapInfo Pro Developers community!  We are a group dedicated to the discussion and understanding of MapBasic and .Net MapInfoPro AddIn development. Bring your questions and ideas here. This group includes several members of the Pro development team from around the world.

Please feel free to start a discussion in the discussion tab or join in a conversation.

Product Information  Ideas Portal  MapInfo Community Downloads

Discussions

Members

Resources

Events

 View Only

Using legacy icons in applications for 64 bit MapInfo Pro

  • 1.  Using legacy icons in applications for 64 bit MapInfo Pro

    Employee
    Posted 03-02-2018 07:26

    I have seen a number of requests for using the legacy icons in your applications for the 64 bit versions of MapInfo Pro.

    With the latest patch for v16.0, this is now possible.

    From the Release Notes:

    Support for Legacy Win32 icons in Ribbon controls

    You can now use the legacy icons from Win32 versions of MapInfo Professional. Icon resources can be identified using the define or number from Icons.def. A MapBasic example here is setting the icon for a RibonButtonControl to use the legacy Printer icon from Win32:

    Call SetRbnBtnCtrlLargeIcon(button2, New_Uri("pack://legacyorigin:,,,/"& MI_ICON_PRINT & ";Large", 0))

    Note: You cannot put Win32 legacy icons within a Gallery control in MapInfo Pro 16.0.3.

     

    Get the patch here:

    http://www.pbinsight.com/support/product-downloads/item/mapInfo-pro-v16.0.3-maintenance-release