** Using GetDialogBaseUnits nBaseUnits = GetDialogBaseUnits() nBaseUnitX = BitAnd( nBaseUnits, 0xFFFF ) nBaseUnitY = BitRShift( BitAnd( nBaseUnits, 0xFFFF0000 ), 16 ) ** Using MapDialogRect sRect = space( 16 ) SetRect( @sRect, nLeft, nTop, nRight, nBottom ) ** hDialog is Handle to a Dialog Window. Or else it fails or worst...CRASHED! MapDialogRect( hDialog, @sRect ) ** Convert back sRect structure to nLeft, nTop, nRight, nBottomSorry if I'm wrong. But, perhaps, you are looking for the wrong solution there. Because it only works for "Dialog Window". AFAIK, all VFP form is NOT Dialog Window.