◄CWnd► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── static void SetCaretPos( POINT point ); Parameter Description <point> Specifies the new logical x- and y-coordinate of the caret. Remarks Moves the caret to the position given by logical coordinates specified by <point>. Logical coordinates are relative to the client area and are affected by the mapping mode, so the exact position in pixels depends on this mapping mode. The SetCaretPos member function moves the caret only if it is owned by a window in the current task. SetCaretPos moves the caret whether or not the caret is hidden. The caret is a shared resource. A CWnd should not move the caret if it does not own the caret. See Also ◄CWnd::GetCaretPos►, ◄::SetCaretPos► -♦-