JMMenuSelected
Dispatch a menu event to an AWT context.
OSStatus JMMenuSelected ( JMAWTContextRef context, MenuHandle hMenu, short menuItem);
context- The AWT context that owns the menu.
hMenu- The menu handle that was selected.
menuItem- The item that was selected.
- function result
- A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
You can use the Mac OS Toolbox functionGetMenuHandleto get the appropriate value ofhMenuto pass.