Lines Matching refs:pMenu
204 ::std::auto_ptr<PopupMenu> pMenu = getMenu(); in statusChanged()
205 sal_uInt16 nCount = pMenu->GetItemCount(); in statusChanged()
208 sal_uInt16 nItemId = pMenu->GetItemId(i); in statusChanged()
209 aFind = m_aStates.find(pMenu->GetItemCommand(nItemId)); in statusChanged()
215 lcl_copy(pMenu.get(),nItemId,i,pToolBox,m_nToolBoxId, m_aCommandURL); in statusChanged()
225 ::std::auto_ptr<PopupMenu> pMenu; in getMenu()
228 pMenu.reset( new PopupMenu( ModuleRes( RID_MENU_APP_NEW ) ) ); in getMenu()
244 sal_uInt16 nCount = pMenu->GetItemCount(); in getMenu()
247 if ( pMenu->GetItemType( nPos ) == MENUITEM_SEPARATOR ) in getMenu()
250 sal_uInt16 nItemId = pMenu->GetItemId(nPos); in getMenu()
251 aSeq[0] = pMenu->GetItemCommand(nItemId); in getMenu()
255 pMenu->SetItemImage(nItemId,aImage); in getMenu()
259 pMenu->EnableItem(nItemId,aFind->second); in getMenu()
270 pMenu.reset( new PopupMenu( ModuleRes( RID_MENU_REFRESH_DATA ) ) ); in getMenu()
272 return pMenu; in getMenu()
282 ::std::auto_ptr<PopupMenu> pMenu = getMenu(); in createPopupWindow()
284 …sal_uInt16 nSelected = pMenu->Execute(pToolBox, pToolBox->GetItemRect( m_nToolBoxId ),POPUPMENU_EX… in createPopupWindow()
293 m_aCommandURL = pMenu->GetItemCommand(nSelected); in createPopupWindow()
294 … lcl_copy(pMenu.get(),nSelected,pMenu->GetItemPos(nSelected),pToolBox,m_nToolBoxId, m_aCommandURL); in createPopupWindow()