| 1/06/06 ~ 10:12 +1000 :
| Kim Kohen,
| " menu item highlight bug in 5.5.5 "
All,
There's a known issue with menu items remaining highlighted after
being called from a key command with OSX and 5.5.5 builds. A while
back some offered a simple workaround but for the life of me I can't
find it in the archives. Can someone refresh my memory on how to get
the menus to properly deselect?
Add this block at the beginning of app.EnablemenuItems event :
#if TargetMacOS
#if TargetMachO
Const kCarbonLib = "/System/Library/Frameworks/Carbon.Framework/Carbon"
#else
Const kCarbonLib = "CarbonLib"
#endif
if IsTiger then // REALbasic-Tiger Menu Highlight problem work-around
Declare Sub HiliteMenu Lib kCarbonLib (menuID As Integer)
HiliteMenu(0)
end
#endif
Many thanks to Bobby K.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>