◄CWnd► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── BOOL SetMenu( CMenu* pMenu ); Parameter Description <pMenu> Identifies the new menu. If this parameter is NULL, the current menu is removed. Remarks 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. Return Value TRUE if the menu is changed; otherwise FALSE. See Also ◄CMenu::DestroyMenu►, ◄CMenu::LoadMenu►, ◄::SetMenu►, ◄CWnd::GetMenu► -♦-