October 2001
Intermediate to advanced
704 pages
19h 33m
English
MENU (MBAR)
MENU ID<MenuResourceId.n>
BEGIN
<PULLDOWNS>END
Where <PULLDOWNS> is one or more of the
following:
PULLDOWN <PullDownTitle.s> BEGIN <MENUITEMS> END
Where <MENUITEMS> is one or more of the
following:
MENUITEM <MenuItem.s> ID <MenuItemId.n> [AccelChar.c] MENUITEM SEPARATOR
For the PilRC CodeWarrior plug-in, the menu item IDs must be sequential within a menu (for example, 1001, 1002, and 1003 are valid, but 1003, 1005, and 1015 are not).
MENU ID 100
BEGIN
PULLDOWN "File"
BEGIN
MENUITEM "Open..." ID 100 "O"
MENUITEM SEPARATOR
MENUITEM "Close..." ID 101 "C"
END
PULLDOWN "Options"
BEGIN
MENUITEM "Get Info..." ID 200 "I"
END
END