CWnd::SetCaretPos

static void PASCAL SetCaretPos( POINT point );

Parameters

point

Specifies the new x  and y coordinates (in client coordinates) of the caret.

Remarks

Sets the position of the caret.

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 window should not move the caret if it does not own the caret.

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::GetCaretPos, ::SetCaretPos