Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

GetCaretDirection method

Gets a value that indicates which direction is defined as the forward direction of the insertion point.

Syntax


HRESULT retVal = object.GetCaretDirection(peDir);

Parameters

peDir [out]

Type: CARET_DIRECTION

A pointer to a CARET_DIRECTION enumeration value that indicates which direction is the forward direction of the insertion point.

Return value

Type: HRESULT

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

See also

Reference
IHTMLCaret::SetCaretDirection
IHTMLCaret::MoveCaretToPointer
IHTMLCaret::MoveCaretToPointerEx

 

 

Community Additions

ADD
Show:
© 2015 Microsoft