Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.07 KB

File metadata and controls

49 lines (33 loc) · 1.07 KB

Home

Function name : ClientToScreen

Group: Coordinate Space and Transformation - Library: gdi32


Converts the client-area coordinates of a specified point to screen coordinates.


Declaration:

BOOL ClientToScreen(
	HWND hWnd,       // handle to window
	LPPOINT lpPoint  // screen coordinates
);  

FoxPro declaration:

DECLARE INTEGER ClientToScreen IN user32;
	INTEGER hWindow,;
	STRING @lpPoint  

Parameters:

hWnd [in] Handle to the window whose client area is used for the conversion.

lpPoint [in/out] Pointer to a POINT structure that contains the client coordinates to be converted. The new screen coordinates are copied into this structure if the function succeeds.


Return value:

If the function succeeds, the return value is nonzero.


Comments:

See also: ScreenToClient.