Opened 18 years ago

Closed 17 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 by Gregg Young, 18 years ago

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 by Steven Levine, 18 years ago

Keywords: help added

comment:3 by Gregg Young, 17 years ago

Owner: Gregg Young removed

comment:4 by Gregg Young, 17 years ago

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

comment:5 by Gregg Young, 17 years ago

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