Hi group,
Is there a way to handle a menu select event from an item on the menubar? Suppose I have this RCP definition:
MENU ID MainMenu BEGIN PULLDOWN "Puldown1" BEGIN ... END /*cannot declare ID*/ MENUITEM "ItemOnTheBar1" ID /*not even possible*/ END
How to catch menu events from "Puldown1" item? How to make (it is not possible) "ItemOnTheBar1" item and catch its events?
I tried to explore (PRCExplorer) the resources of a trivial Starter application, but it seems: (1) although declared as MENU, resources are linked as 'MBAR' resource; (2) although linked as 'MBAR' resource, data does not conform 'MBAR' type declaration in UIResDefs.r.
PalmRez converts Mac OS menu structures into 'MBAR' resources on the device. Because of this, the representation in UIResDefs.r is much richer than what Palm OS actually supports. The OS doesn't support doing what you want -- there is no event sent when a menu is pulled down, only when a command is selected.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
