InitMenus
InitMenus Initialize the Menu Manager
#include <Menus.h> Menu Manager
void InitMenus( );
This allocates heap storage for the menu list and draws an empty menu bar.
Call this once, early in the program, before making any other Menu Manager
calls.
Returns: none

Notes: Call InitGraf, InitFonts, and InitWindows before calling InitMenus
or using any Menu Manager functions.
After this call, you can prepare your menus using any of the following
techniques:
• Use GetNewMBar to read an entire menu list (all menus with their
items) into memory from a resource. Use SetMenuBar to install it.
• Use GetMenu to read menus, one at a time, into memory from a resource.
Use InsertMenu to install each of them.
• Use NewMenu to create empty menus. Fill them with items using
AppendMenu and use InsertMenu to install them.
• Use NewMenu to create an empty menu. Fill it with items using
AddResMenu (to get a list of all resources of a selected type; e.g. fonts),
and use InsertMenu to install the menu.
When a mouse-down event occurs, use FindWindow; if the return value
is inMenuBar, call MenuSelect to pull down the menu and let the user
choose an item. The return value indicates which item was chosen. When a
key-down event indicates a command key, use MenuKey to see which menu
item was desired.