GetNewMBar
GetNewMBar
Read a menu list from a resource (type 'MBAR') short menuBarID ; resource ID of an 'MBAR' resource
returns handle leading to menu bar data from a resource
This allocates storage for, and reads in a menu list from a 'MBAR' resource.
It also reads in all the menus in that list.
menuBarID is the resource ID of an 'MBAR' resource.
Returns: a generic Handle; a handle leading to a variable-length menu list structure (not formally named or defined).
Notes: Use this to read from a resource an entire menu list, including all menus
and all items in each menu.
To access individual menus in the menu list (as when you wish to disable
it.
This function does NOT install menu color information. Use SetMCInfo.