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

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl