CWnd::GetCaretPos
staticCPointPASCALGetCaretPos();
Return Value
CPoint object containing the coordinates of the caret’s position.
Remarks
Retrieves the client coordinates of the caret’s current position and returns them as a CPoint.
The caret position is given in the client coordinates of the CWnd window.