BOOL GetCaretPos(lpPoint) | |||||
LPPOINT lpPoint; | /* address of structure to receive coordinates | */ |
This function retrieves the caret's current position (in client coordinates), and copies them to the POINT structure pointed to by the lpPoint parameter.
lpPoint
Points to the POINT structure that is to receive the client coordinates of the caret.
Returns TRUE for success, FALSE for failure.
The caret position is always given in the client coordinates of the window that contains the caret.
SetCaretPos