CMenu::DestroyMenu

BOOLDestroyMenu();

Return Value

Nonzero if the menu is destroyed; otherwise 0.

Remarks

Destroys the menu and any Windows resources that were used. 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.

CMenu OverviewClass MembersHierarchy Chart

See Also