CMenu::DestroyMenu

Syntax

BOOL DestroyMenu();

Remarks

Destroys the menu and any Windows system 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.

Return Value

TRUE if the menu is destroyed; otherwise FALSE.

See Also

CMenu::~CMenu, ::DestroyMenu