TopMenuItem
MenuCRsrc Structure of a color menu information resource noMark 0 ASCII codes of characters in Chicago font ...
commandMark 0x11 ... for convenience in calling SetItemMark, et.al checkMark 0x12
diamondMark 0x13
appleMark 0x14
hMenuCmd 0x1B if 'Cmd key' is Esc (0x1b), it's a hierarchical
menu
hierMenu -1 use as beforeID when inserting popup menu in
mChooseMsg 1
mSizeMsg 2
mDrawItemMsg 4
mCalcItemMsg 5
textMenuProc 0
mPopUpMsg 3 calculate menu rectangle for a popup menu
mctAllItems -98 may be used as menuID in calls to
mctLastIDIndic -99 in MCEntry.mctID, indicates end of menu color table
Do not use low memory global variables that are not documented.
No undocumented location below the system heap is guaranteed to be available
for use in future systems.
Name Address Size Description
AtMenuBottom 0x0A0C scrollable menu bottom pixel value
MBarEnable 0x0A20 2 0 if menu bar is application's; else menu bar is DA's
MBarHeight 0x0BAA 2 menu bar height derived from the system font size
drawing.
Entry: stack has the pointer to the menu Rect Exit: D0=0 to continue MenuSelect; 1 to abort
MenuCInfo 0x0D50 4 Handle to menu color information MenuDisable 0x0B54 ID of the last menu item chosen
MenuFlash 0x0A24 2 number of times menu item will blink
MenuList 0x0A1C 4 Handle to current menu list TheMenu 0x0A26 2 menu ID of currently highlighted menu
TopMenuItem 0x0A0A scrollable menu top pixel value