Opened 13 years ago

Closed 12 years ago

#7 closed enhancement (fixed)

get bubble help working for the menu bitmaps in the collector and archive container

Reported by: Gregg Young Owned by: Gregg Young
Priority: minor Milestone: Release_3.10
Component: fm/2 base Version:
Keywords: help Cc:

Description


Change History (5)

comment:1 Changed 13 years ago by Gregg Young

I am trying to get bubble help working for the menu bitmaps in the collector and archive container.

Do you mean for the context menus for the bitmap icons?

I am a little confused. I think I need to subclass the menu window then identify the buttons by location.

Not really, you can always figure out the menu item from a mouse position. However, you may need to subclass the window to know when to update the bubble help display as the mouse moves over menu items.

However it doesn't appear to be the approach taken with the existing bubble help is this because menu button help is slightly different then say the toolbar help?

No. It's because the bubble help is only smart enough to know how to display for one window. How well do you understand what MakeBubble?() and BubbleProc?() are doing?

My plan was to add a case for the menu buttons under wm_mousemove which would subclass the window identify the button locations using them in an array then compare them to the mouseptr and finally identify strings for each button.

You can't do that because the locations may not be fixed. However, you can ask PM to help you identify which menu item the mouse is over and use this to look up the help text.

I would then let the present code do the bubble create/destroy etc.

Yes this should be close to working.

comment:2 Changed 13 years ago by Steven Levine

Keywords: help added

comment:3 Changed 13 years ago by Gregg Young

Owner: Gregg Young deleted

comment:4 Changed 12 years ago by Gregg Young

Milestone: Release_3.10
Owner: set to Gregg Young
Status: newassigned

comment:5 Changed 12 years ago by Gregg Young

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.