Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CMenu::LoadMenu
CMenu                                       Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL LoadMenu( const char FAR* lpMenuName );
  BOOL LoadMenu( UINT nIDMenu );
 
  Parameter    Description
 
  <lpMenuName> Points to a null-terminated string that contains the name
               of the menu resource to load.
 
  <nIDMenu>    Specifies the menu ID of the menu resource to load.
 
  Remarks
 
  Loads a menu resource from the application's executable file and
  attaches it to the CMenu object.
 
  Return Value
 
  TRUE if the menu resource was loaded successfully; otherwise FALSE.
 
  See Also
 
  CMenu::AppendMenu, CMenu::DestroyMenu, CMenu::LoadMenuIndirect,
  ::LoadMenu.
 
 
                                     -♦-