Jack Jansen | e79dc76 | 2000-06-02 21:35:07 +0000 | [diff] [blame] | 1 | # Generated from 'Macintosh HD:SWDev:Codewarrior Pro 5:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Menus.h' |
Guido van Rossum | e26c263 | 1995-02-28 09:11:41 +0000 | [diff] [blame] | 2 | |
Jack Jansen | 0ec0e63 | 1998-04-24 10:41:38 +0000 | [diff] [blame] | 3 | def FOUR_CHAR_CODE(x): return x |
Jack Jansen | a05ac60 | 1999-12-12 21:41:51 +0000 | [diff] [blame] | 4 | gestaltMenuMgrAttr = FOUR_CHAR_CODE('menu') |
| 5 | gestaltMenuMgrPresent = 1 |
| 6 | menuPropertyInvalid = -5603 |
| 7 | menuPropertyNotFoundErr = -5604 |
Jack Jansen | b81cf9d | 1995-06-06 13:08:40 +0000 | [diff] [blame] | 8 | noMark = 0 |
Jack Jansen | 4e12663 | 1998-04-21 15:21:52 +0000 | [diff] [blame] | 9 | kMenuDrawMsg = 0 |
| 10 | kMenuChooseMsg = 1 |
| 11 | kMenuSizeMsg = 2 |
| 12 | kMenuDrawItemMsg = 4 |
| 13 | kMenuCalcItemMsg = 5 |
| 14 | kMenuThemeSavvyMsg = 7 |
Guido van Rossum | 17448e2 | 1995-01-30 11:53:55 +0000 | [diff] [blame] | 15 | mDrawMsg = 0 |
| 16 | mChooseMsg = 1 |
| 17 | mSizeMsg = 2 |
| 18 | mDrawItemMsg = 4 |
| 19 | mCalcItemMsg = 5 |
Jack Jansen | 4e12663 | 1998-04-21 15:21:52 +0000 | [diff] [blame] | 20 | kThemeSavvyMenuResponse = 0x7473 |
Guido van Rossum | 17448e2 | 1995-01-30 11:53:55 +0000 | [diff] [blame] | 21 | textMenuProc = 0 |
| 22 | hMenuCmd = 27 |
| 23 | hierMenu = -1 |
| 24 | mPopUpMsg = 3 |
| 25 | mctAllItems = -98 |
Guido van Rossum | e26c263 | 1995-02-28 09:11:41 +0000 | [diff] [blame] | 26 | mctLastIDIndic = -99 |
Jack Jansen | a05ac60 | 1999-12-12 21:41:51 +0000 | [diff] [blame] | 27 | kMenuStdMenuProc = 63 |
| 28 | kMenuStdMenuBarProc = 63 |
| 29 | kMenuNoModifiers = 0 |
Jack Jansen | 1836dbe | 1999-12-14 15:44:53 +0000 | [diff] [blame] | 30 | kMenuShiftModifier = (1 << 0) |
| 31 | kMenuOptionModifier = (1 << 1) |
| 32 | kMenuControlModifier = (1 << 2) |
| 33 | kMenuNoCommandModifier = (1 << 3) |
Jack Jansen | a05ac60 | 1999-12-12 21:41:51 +0000 | [diff] [blame] | 34 | kMenuNoIcon = 0 |
| 35 | kMenuIconType = 1 |
| 36 | kMenuShrinkIconType = 2 |
| 37 | kMenuSmallIconType = 3 |
| 38 | kMenuColorIconType = 4 |
| 39 | kMenuIconSuiteType = 5 |
| 40 | kMenuIconRefType = 6 |
Jack Jansen | 4e12663 | 1998-04-21 15:21:52 +0000 | [diff] [blame] | 41 | gestaltContextualMenuAttr = FOUR_CHAR_CODE('cmnu') |
| 42 | gestaltContextualMenuUnusedBit = 0 |
| 43 | gestaltContextualMenuTrapAvailable = 1 |
| 44 | kCMHelpItemNoHelp = 0 |
| 45 | kCMHelpItemAppleGuide = 1 |
| 46 | kCMHelpItemOtherHelp = 2 |
| 47 | kCMNothingSelected = 0 |
| 48 | kCMMenuItemSelected = 1 |
| 49 | kCMShowHelpSelected = 3 |