void GetCaretPos(lpPoint)
This function retrieves the caret's current position (in screen coordinates), and copies them to the POINT structure pointed to by the lpPoint parameter.
Parameter | Type/Description |
lpPoint | LPPOINT Points to the POINT structure that is to receive the screen coordinates of the caret. |
None.
The caret position is always given in the client coordinates of the window that contains the caret.