CMenu::DestroyMenu
Destroys the menu and any Windows resources that were used.
BOOL DestroyMenu( );
Возвращаемое значение
Nonzero if the menu is destroyed; otherwise 0.
Заметки
The menu is detached from the CMenu object before it is destroyed. The Windows DestroyMenu function is automatically called in the CMenu destructor.
Пример
See the example for CMenu::CreateMenu.
Требования
Header: afxwin.h