Lines Matching refs:nHighlightedItem
466 sal_uInt16 nHighlightedItem; // gehighlightetes/selektiertes Item member in MenuFloatingWindow
532 sal_uInt16 GetHighlightedItem() const { return nHighlightedItem; } in GetHighlightedItem()
681 sal_uInt16 nHighlightedItem; member in MenuBarWindow
735 sal_uInt16 GetHighlightedItem() const { return nHighlightedItem; } in GetHighlightedItem()
788 static sal_Bool ImplHandleHelpEvent( Window* pMenuWindow, Menu* pMenu, sal_uInt16 nHighlightedItem,… in ImplHandleHelpEvent() argument
796 if ( nHighlightedItem != ITEMPOS_INVALID ) in ImplHandleHelpEvent()
798 MenuItemData* pItemData = pMenu->GetItemList()->GetDataFromPos( nHighlightedItem ); in ImplHandleHelpEvent()
1576 void Menu::SetHightlightItem( sal_uInt16 nHighlightedItem ) in SetHightlightItem() argument
1578 this->nHighlightedItem = nHighlightedItem; in SetHightlightItem()
1582 return nHighlightedItem; in GetHighlightItem()
2961 void Menu::ImplCallHighlight( sal_uInt16 nHighlightedItem ) in ImplCallHighlight() argument
2966 MenuItemData* pData = pItemList->GetDataFromPos( nHighlightedItem ); in ImplCallHighlight()
3453 if( ITEMPOS_INVALID != pMenuWin->nHighlightedItem ) in SelectEntry()
4006 nHighlightedItem = ITEMPOS_INVALID; in MenuFloatingWindow()
4038 if( nHighlightedItem != ITEMPOS_INVALID ) in doShutdown()
4039 pMenu->ImplCallEventListeners( VCLEVENT_MENU_DEHIGHLIGHT, nHighlightedItem ); in doShutdown()
4161 if ( n != nHighlightedItem ) in ImplHighlightItem()
4182 if ( n != nHighlightedItem ) in ImplHighlightItem()
4266 MenuItemData* pItemData = pMenu->pItemList->GetDataFromPos( nHighlightedItem ); in IMPL_LINK()
4281 for ( sal_uLong n = 0; n < nHighlightedItem; n++ ) in IMPL_LINK()
4286 pData = pMenu->pItemList->GetDataFromPos( nHighlightedItem ); in IMPL_LINK()
4298 if ( nHighlightedItem ) in IMPL_LINK()
4458 sal_uInt16 nItem = nHighlightedItem; in EndExecute()
4480 nHighlightedItem = nPos; in EndExecute()
4482 nHighlightedItem = ITEMPOS_INVALID; in EndExecute()
4497 nMBDownPos = nHighlightedItem; in MouseButtonDown()
4502 MenuItemData* pData = pMenu ? pMenu->GetItemList()->GetDataFromPos( nHighlightedItem ) : NULL; in MouseButtonUp()
4513 …else if ( ( pData->nBits & MIB_POPUPSELECT ) && ( nHighlightedItem == _nMBDownPos ) && ( rMEvt.Get… in MouseButtonUp()
4537 MenuItemData* pData = pMenu ? pMenu->pItemList->GetDataFromPos( nHighlightedItem ) : NULL; in MouseMove()
4572 HighlightItem( nHighlightedItem, sal_False ); in ImplScroll()
4626 HighlightItem( nHighlightedItem, sal_True ); in ImplScroll()
4679 if ( nHighlightedItem != ITEMPOS_INVALID ) in ChangeHighlightItem()
4681 HighlightItem( nHighlightedItem, sal_False ); in ChangeHighlightItem()
4682 pMenu->ImplCallEventListeners( VCLEVENT_MENU_DEHIGHLIGHT, nHighlightedItem ); in ChangeHighlightItem()
4685 nHighlightedItem = (sal_uInt16)n; in ChangeHighlightItem()
4686 …DBG_ASSERT( pMenu->ImplIsVisible( nHighlightedItem ) || nHighlightedItem == ITEMPOS_INVALID, "Chan… in ChangeHighlightItem()
4687 if( nHighlightedItem != ITEMPOS_INVALID ) in ChangeHighlightItem()
4703 if( pPWin && pPWin->nHighlightedItem != i ) in ChangeHighlightItem()
4706 pPWin->nHighlightedItem = i; in ChangeHighlightItem()
4710 HighlightItem( nHighlightedItem, sal_True ); in ChangeHighlightItem()
4711 pMenu->SetHightlightItem(nHighlightedItem); in ChangeHighlightItem()
4712 pMenu->ImplCallHighlight( nHighlightedItem ); in ChangeHighlightItem()
4870 sal_uInt16 n = nHighlightedItem; in ImplCursorUpDown()
4903 if ( !IsScrollMenu() || ( nHighlightedItem == ITEMPOS_INVALID ) ) in ImplCursorUpDown()
4913 if ( !IsScrollMenu() || ( nHighlightedItem == ITEMPOS_INVALID ) ) in ImplCursorUpDown()
4993 pPopupMenu->ImplCallHighlight(pFloat->nHighlightedItem); in KeyInput()
5024 if ( nHighlightedItem != ITEMPOS_INVALID ) in KeyInput()
5026 MenuItemData* pData = pMenu->GetItemList()->GetDataFromPos( nHighlightedItem ); in KeyInput()
5049 MenuItemData* pData = pMenu->GetItemList()->GetDataFromPos( nHighlightedItem ); in KeyInput()
5080 …mList()->SearchItem( nCharCode, rKEvent.GetKeyCode(), nPos, nDuplicates, nHighlightedItem ) : NULL; in KeyInput()
5090 nHighlightedItem = nPos; in KeyInput()
5137 if ( nHighlightedItem != ITEMPOS_INVALID ) in Paint()
5138 HighlightItem( nHighlightedItem, sal_True ); in Paint()
5167 sal_uInt16 nId = nHighlightedItem; in RequestHelp()
5172 Rectangle aHighlightRect( ImplGetItemRect( nHighlightedItem ) ); in RequestHelp()
5176 nHighlightedItem = ITEMPOS_INVALID; in RequestHelp()
5244 nHighlightedItem = ITEMPOS_INVALID; in MenuBarWindow()
5295 nHighlightedItem = ITEMPOS_INVALID; in SetMenu()
5405 … MenuItemData* pItemData = pMenu ? pMenu->GetItemList()->GetDataFromPos( nHighlightedItem ) : NULL; in ImplCreatePopup()
5413 …if ( pItemData->bEnabled && pItemData->pSubMenu && ( nHighlightedItem != ITEMPOS_INVALID ) && ( pI… in ImplCreatePopup()
5418 for ( sal_uLong n = 0; n < nHighlightedItem; n++ ) in ImplCreatePopup()
5423 pData = pMenu->pItemList->GetDataFromPos( nHighlightedItem ); in ImplCreatePopup()
5495 if ( ( nEntry != ITEMPOS_INVALID ) && ( nEntry != nHighlightedItem ) ) in MouseButtonDown()
5513 …sSynthetic() || rMEvt.IsLeaveWindow() || rMEvt.IsEnterWindow() || ( nHighlightedItem == ITEMPOS_IN… in MouseMove()
5527 && ( nEntry != nHighlightedItem ) ) in MouseMove()
5543 if ( ( nHighlightedItem == ITEMPOS_INVALID ) && ( n != ITEMPOS_INVALID ) ) in ChangeHighlightItem()
5578 else if ( ( nHighlightedItem != ITEMPOS_INVALID ) && ( n == ITEMPOS_INVALID ) ) in ChangeHighlightItem()
5595 if ( nHighlightedItem != ITEMPOS_INVALID ) in ChangeHighlightItem()
5597 HighlightItem( nHighlightedItem, sal_False ); in ChangeHighlightItem()
5598 pMenu->ImplCallEventListeners( VCLEVENT_MENU_DEHIGHLIGHT, nHighlightedItem ); in ChangeHighlightItem()
5601 nHighlightedItem = (sal_uInt16)n; in ChangeHighlightItem()
5602 …DBG_ASSERT( ( nHighlightedItem == ITEMPOS_INVALID ) || pMenu->ImplIsVisible( nHighlightedItem ), "… in ChangeHighlightItem()
5603 HighlightItem( nHighlightedItem, sal_True ); in ChangeHighlightItem()
5604 pMenu->SetHightlightItem(nHighlightedItem); in ChangeHighlightItem()
5605 pMenu->ImplCallHighlight( nHighlightedItem ); in ChangeHighlightItem()
5748 if ( nHighlightedItem == ITEMPOS_INVALID ) in ImplHandleKeyEvent()
5765 sal_uInt16 n = nHighlightedItem; in ImplHandleKeyEvent()
5846 sal_uInt16 n = nHighlightedItem; in ImplHandleKeyEvent()
5847 nHighlightedItem = ITEMPOS_INVALID; in ImplHandleKeyEvent()
5873 …etItemList()->SearchItem( nCharCode, rKEvent.GetKeyCode(), nEntry, nDuplicates, nHighlightedItem ); in ImplHandleKeyEvent()
5918 if ( nHighlightedItem != ITEMPOS_INVALID ) in Paint()
5919 HighlightItem( nHighlightedItem, sal_True ); in Paint()
5993 sal_uInt16 nId = nHighlightedItem; in RequestHelp()
5997 Rectangle aHighlightRect( ImplGetItemRect( nHighlightedItem ) ); in RequestHelp()
6079 if ( nHighlightedItem == ITEMPOS_INVALID ) in GetFocus()