void GetCaretPos(lppt) | |||||
POINT FAR* lppt; | /* address of structure to receive coordinates | */ |
The GetCaretPos function retrieves the current position of the caret.
lppt
Points to a POINT structure that receives the client coordinates of the caret's current position. The POINT structure has the following form:
typedef struct tagPOINT { /* pt */
int x;
int y;
} POINT;
For a full description of this structure, see the Microsoft Windows Programmer's Reference, Volume 3.
This function does not return a value.
The caret position is always given in the client coordinates of the window that contains the caret.