Lines Matching refs:hMenu
152 static void addMenuItem( HMENU hMenu, UINT id, UINT iconId, const OUString& text, int& pos, int bOw… in addMenuItem() argument
194 InsertMenuItemW( hMenu, pos++, TRUE, &mi ); in addMenuItem()
203 HMENU hMenu = CreatePopupMenu(); in createSystrayMenu() local
262 addMenuItem( hMenu, aMenuItems[i].nMenuItemID, aMenuItems[i].nMenuIconID, in createSystrayMenu()
269 addMenuItem( hMenu, IDM_TEMPLATE, ICON_TEMPLATE, in createSystrayMenu()
271 addMenuItem( hMenu, static_cast< UINT >( -1 ), 0, OUString(), pos, false, aEmpty ); in createSystrayMenu()
272 …addMenuItem( hMenu, IDM_OPEN, ICON_OPEN, pShutdownIcon->GetResString( STR_QUICKSTART_FILEOPEN ),… in createSystrayMenu()
273 addMenuItem( hMenu, static_cast< UINT >( -1 ), 0, OUString(), pos, false, aEmpty ); in createSystrayMenu()
275 …addMenuItem( hMenu, IDM_INSTALL,0, pShutdownIcon->GetResString( STR_QUICKSTART_PRELAUNCH ), pos, f… in createSystrayMenu()
276 addMenuItem( hMenu, static_cast< UINT >( -1 ), 0, OUString(), pos, false, aEmpty ); in createSystrayMenu()
277 …addMenuItem( hMenu, IDM_EXIT, 0, pShutdownIcon->GetResString( STR_QUICKSTART_EXIT ), pos, false,… in createSystrayMenu()
280 …CheckMenuItem( hMenu, IDM_INSTALL, MF_BYCOMMAND | (ShutdownIcon::GetAutostart() ? MF_CHECKED : MF_… in createSystrayMenu()
282 return hMenu; in createSystrayMenu()
287 static void deleteSystrayMenu( HMENU hMenu ) in deleteSystrayMenu() argument
289 if( !hMenu || !IsMenu( hMenu )) in deleteSystrayMenu()
299 while( GetMenuItemInfoW( hMenu, pos++, true, &mi ) ) in deleteSystrayMenu()