Share via


SetCaretDirection method

Specifies which direction is defined as the forward direction of the insertion point.

Syntax

HRESULT retVal = object.SetCaretDirection(eDir);

Parameters

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

See also

Reference

IHTMLCaret::GetCaretDirection

IHTMLCaret::MoveCaretToPointer

IHTMLCaret::MoveCaretToPointerEx