BOOL GetCurrentPositionEx(hdc, lpPoint) | |||||
HDC hdc; | /* handle of device context | */ | |||
LPPOINT lpPoint; | /* address of structure that receives current pos. | */ |
This function retrieves the current position.
hdc
Identifies the device context.
lpPoint
Points to a POINT structure that receives the coordinates of the current position. The POINT structure has the following form:
typedef struct tagPOINT { /* pt */
LONG x;
LONG y;
} POINT;
The return value is TRUE if the function is successful. Otherwise it is FALSE.
The current position is always returned in logical coordinates.
POINT