Menu Events

Menu events are generated when the user opens or closes a menu or when programmatic changes are made to the application (such as enabling a menu item).

Table C-4. Parameter Names and Types for Menu Event Kinds

Event kindParameter nameParameter type
kEventMenuBeginTracking kEventParamDirectObject typeMenuRef
  kEventParamCurrentMenuTrackingMode typeMenuTrackingMode
kEventMenuEndTracking kEventParamDirectObject typeMenuRef
kEventMenuOpening kEventParamDirectObject typeMenuRef
  kEventParamMenuFirstOpen typeBoolean
kEventMenuClosed kEventParamDirectObject typeMenuRef
kEventMenuTargetItem kEventParamDirectObject typeMenuRef
  kEventParamMenuItemIndex typeMenuItemIndex
  kEventParamMenuCommand typeMenuCommand
kEventMenuMatchKey kEventParamDirectObject typeMenuRef
  kEventParamEventRef typeEventRef
  kEventParamMenuEventOptions typeMenuEventOptions
  kEventParamMenuItemIndex typeMenuItemIndex
kEventMenuEnableItems kEventParamDirectObject typeMenuRef
  kEventParamEnableMenuForKeyEvent typeBoolean
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.200.109