>>DECLARE INTEGER GetDpiForWindow IN user32.DLL LONG HWND >>DECLARE INTEGER GetDesktopWindow IN user32.DLL >>SET DECIMALS TO 5 >>*this is the factor all elements are smaller (this is a rectangle on an frx of length n is n*the result smaller if scaled) >>? GetDpiForWindow(_SCREEN.HWND),GetDpiForWindow(GetDesktopWindow()) >>*this is the scaling (the inverse of the above) >>?GetDpiForWindow(GetDesktopWindow())/GetDpiForWindow(_SCREEN.HWND) >>>