◄CMenu► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── BOOL CreateMenu(); Remarks Creates a menu and attaches it to the CMenu object. The menu is initially empty. Menu items can be added by using the AppendMenu or InsertMenu member functions. If the menu is assigned to a window, it is automatically destroyed when the window is destroyed. Return Value TRUE if the menu was created successfully; otherwise FALSE. See Also ◄CMenu::CMenu►, ◄CMenu::DestroyMenu►, ◄CMenu::InsertMenu►, ◄CWnd::SetMenu►, ◄::CreateMenu►, ◄CMenu::AppendMenu► -♦-