This example creates a menu item named Alpha. The item identifier is 101.
MENUITEM "Alpha", 101
This example creates a menu item named Beta. The item identifier is 102. The menu item has a text style and a checked attribute.
MENUITEM "Beta", 102, MIS_TEXT, MIA_CHECKED
This example creates a menu separator between menu items named Gamma and Delta.
MENUITEM "Gamma", 103 MENUITEM SEPARATOR MENUITEM "Delta", 104
This example creates a menu item that has a bit map instead of a name. The bit-map identifier, 1, is first defined using a BITMAP statement. The identifier for the menu item is 301. Note that a # sign must be placed in front of the bit map identifier in the MENUITEM statement.
BITMAP 1 mybitmap.bmp MENUITEM "#1", 301, MIS_BITMAP