Group: Window - Library: user32
Comparing dimensions of the VFP main window with _SCREEN properties
Retrieving geometrical parameters of the system desktop window
BOOL GetClientRect(
HWND hWnd, // handle to window
LPRECT lpRect // client coordinates
);
DECLARE SHORT GetClientRect IN user32;
INTEGER hwnd,;
STRING @ lpRect
hWnd [in] Handle to the window whose client coordinates are to be retrieved.
lpRect [out] Pointer to a RECT structure that receives the client coordinates. The left and top members are zero. The right and bottom members contain the width and height of the window.
If the function succeeds, the return value is nonzero.