Lines Matching refs:aMenuPos
842 Point aMenuPos(GetActiveWindow()->GetSizePixel().Width()/2 in Command() local
850 aMenuPos = GetActiveWindow()->LogicToPixel( aMarkRect.Center() ); in Command()
853 if( aMenuPos.X() < 0 ) in Command()
854 aMenuPos.X() = 0; in Command()
855 if( aMenuPos.Y() < 0 ) in Command()
856 aMenuPos.Y() = 0; in Command()
857 if( aMenuPos.X() > GetActiveWindow()->GetSizePixel().Width() ) in Command()
858 aMenuPos.X() = GetActiveWindow()->GetSizePixel().Width(); in Command()
859 if( aMenuPos.Y() > GetActiveWindow()->GetSizePixel().Height() ) in Command()
860 aMenuPos.Y() = GetActiveWindow()->GetSizePixel().Height(); in Command()
864 … GetViewFrame()->GetDispatcher()->ExecutePopup(SdResId(nSdResId),GetActiveWindow(),&aMenuPos); in Command()