Lines Matching refs:aMenuPos
836 Point aMenuPos(GetActiveWindow()->GetSizePixel().Width()/2 in Command() local
844 aMenuPos = GetActiveWindow()->LogicToPixel( aMarkRect.Center() ); in Command()
847 if( aMenuPos.X() < 0 ) in Command()
848 aMenuPos.X() = 0; in Command()
849 if( aMenuPos.Y() < 0 ) in Command()
850 aMenuPos.Y() = 0; in Command()
851 if( aMenuPos.X() > GetActiveWindow()->GetSizePixel().Width() ) in Command()
852 aMenuPos.X() = GetActiveWindow()->GetSizePixel().Width(); in Command()
853 if( aMenuPos.Y() > GetActiveWindow()->GetSizePixel().Height() ) in Command()
854 aMenuPos.Y() = GetActiveWindow()->GetSizePixel().Height(); in Command()
858 … GetViewFrame()->GetDispatcher()->ExecutePopup(SdResId(nSdResId),GetActiveWindow(),&aMenuPos); in Command()