CMenu::LoadMenu

This method loads a menu resource from the application’s executable file and attach it to the CMenu object.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL LoadMenu( LPCTSTR lpszResourceName );

BOOL LoadMenu( UINT nIDResource );

See Also

CMenu::AppendMenu, CMenu::DestroyMenu