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: gyoung Owned by: gyoung
Priority: minor Milestone: Release_3.10
Component: fm/2 base Version:
Keywords: help Cc:


Change History (5)

comment:1 Changed 13 years ago by gyoung

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 stevenhl

  • Keywords help added

comment:3 Changed 12 years ago by gyoung

  • Owner gyoung deleted

comment:4 Changed 12 years ago by gyoung

  • Milestone set to Release_3.10
  • Owner set to gyoung
  • Status changed from new to assigned

comment:5 Changed 12 years ago by gyoung

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.