MENU Statement

The MENU statement defines the contents of a menu resource. A menu resource is a collection of information that defines the appearance and function of an application menu. A menu can be used to create an action bar.

The MENU statement has the form:

 ─MENU-menuid──┬────────────┬┬───────────┬──
                 └─loadoption─┘└─memoption─┘

 ────┬────────────┬──────────────────────────
      └──codepage──┘

               ┌─────────────────────┐
                                    │
             ┌──PRESPARAMS─statement─┴┐
 ────BEGIN──┴────────────────────────┴───────
          ┌────────────────────────┐
                                  │
 ────────┬───MENUITEM─statement───┼──END────
          │                        │
          └───SUBMENU─statement────┘

menuid (USHORT)