Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Destroys the menu and any Windows resources that were used.
BOOL DestroyMenu( );
Return Value
Nonzero if the menu is destroyed; otherwise 0.
Remarks
The menu is detached from the CMenu object before it is destroyed. The Windows DestroyMenu function is automatically called in the CMenu destructor.
Example
See the example for CMenu::CreateMenu.
Requirements
Header: afxwin.h