I use Delphi 3.0. Coolbars are great but they have not implemented the Office 97 CommandBar componets. I want a menu that mimics the Office 97 Menu Coolbar. All menu items behave as Internet Explorer style buttons and remain in the down state when an item's popup menu is showing.
How do I use Delphi's existing TMenu and TMainMenu to get the regions of menuitems and allow them to respond to mousemove messages (I havent' been able to get it to work), thus allowing me to determine using api calls what menu item the user is over and use another call to get the item's bounding region. From there, I think I can learn to modify the canvas underneath the items to make them behave like IE buttons.
Or, if I can't use the TMenu, how do I do it from scratch - I tried and got a lot of things to work but was unable to determine how to let other menu items continue to receive mousemove messages while one menu item's popup menu had captured the mouse (if I open files drop down menu and while its open move my mouse over the Edit menu item, the Edit menu item's menu drops down even though I never clicked outside of the file popup menu. This drives me crazy since I can't figure out how they did it.)