InitProcMenu
InitProcMenu Install custom menu bar definition procedure
#include <Menus.h> Menu Manager
void InitProcMenu(MBDFresID );
short MBDFresID ; resource ID of an 'MBDF' code resource
InitProcMenu installs a custom handler for menubar functions such as
saving and restoring the bits behind a menu and hilighting and flashing the
menubar. This flexibility is in addition to that provided by installing a custom
'MDEF' (see Custom Menus).
MBDFresID is the resource ID of an 'MBDF' resource. The standard 'MBDF' in
the System resource file and has an ID of 0. In all mbar defproc
messages, the low-order three bits (0...7) specify an "mbVariant
code and the high order 13 bits identify the handler the system will
load and call.
Returns: none

Notes: This allocates storage for an internally-used MenuList structure (unless
one has been allocated by a previous call to InitMenus). MBDFresID is
stored in that structure.
The custom 'MBDF' is in effect only as long as the calling application
executes.