Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CARET_DIRECTION enumeration

Specifies to the IHTMLCaret::MoveCaretToPointer and IHTMLCaret::MoveCaretToPointerEx methods which direction should be the caret's forward direction.

Syntax


typedef enum _CARET_DIRECTION { 
  CARET_DIRECTION_INDETERMINATE  = 0,
  CARET_DIRECTION_SAME           = 1,
  CARET_DIRECTION_BACKWARD       = 2,
  CARET_DIRECTION_FORWARD        = 3
} CARET_DIRECTION;

Constants

CARET_DIRECTION_INDETERMINATE

The direction of caret movement should be automatically determined from the context of its new location.

CARET_DIRECTION_SAME

The caret should move in the same direction that it moved before it was placed at its new location.

CARET_DIRECTION_BACKWARD

The caret should move backward (that is, from right to left).

CARET_DIRECTION_FORWARD

The caret should move forward (that is, from left to right).

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.