Lines Matching defs:hMenu
107 UINT GetMenuState(HMENU hMenu, UINT id, UINT flags)
114 if ( !::GetMenuItemInfo(hMenu, id, flags & MF_BYPOSITION ? TRUE : FALSE , & info) )
712 HMENU hMenu = GetHmenu();
718 if ( !::InsertMenu(hMenu, 0u, MF_BYPOSITION | MF_STRING,
720 !::InsertMenu(hMenu, 1u, MF_BYPOSITION, (unsigned)-1, NULL) )
731 if ( !RemoveMenu(hMenu, 0, MF_BYPOSITION) ||
732 !RemoveMenu(hMenu, 0, MF_BYPOSITION) )
748 if ( !SetMenuItemInfo(hMenu, 0, TRUE, & info) )
753 if ( !ModifyMenu(hMenu, 0u,
919 HMENU hMenu = (HMENU)::SendMessage(hCommandBar, SHCMBM_GETMENU, (WPARAM)0, (LPARAM)0);
921 // hMenu may be zero on Windows Mobile 5. So add the menus anyway.
922 if (1) // (hMenu)
947 m_hMenu = (WXHMENU) hMenu;