popup message for feature invoked by hover

Rod KRod K Global Mapper UserPosts: 9
edited March 2010 in SDK
Is there a way to set a 'tool tip' style popup message for features that would display an attribute value of the feature when a user hovers their mouse over a feature on the map? Any advice on how to set this up if it is supported would be greatly appreciated! Is there an event that fires for when the mouse pointer hovers over a feature?

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited March 2010
    Rod,

    You could certainly do this in your application. You would likely monitor WM_MOUSEMOVE events and detect when a feature is hovered over (use GM_FindNearestFeatures to find the nearest, similar to what is done in the OnRButtonUp handler in the C++ sample application), then display a popup with the desired information.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
Sign In or Register to comment.