BOOL SetMenu( CMenu* pMenu );
pMenu
Identifies the new menu. If this parameter is NULL, the current menu is removed.
Sets the current menu to the specified menu.
SetMenu will not destroy a previous menu. An application should call the CMenu::DestroyMenu member function to accomplish this task.
TRUE if the menu is changed; otherwise FALSE.
CMenu::DestroyMenu, CMenu::LoadMenu, ::SetMenu, CWnd::GetMenu