共用方式為


DISPLAY_MOVEUNIT enumeration

Contains options for display pointer movement used by the IDisplayPointer::MoveUnit method.

Syntax

typedef enum _DISPLAY_MOVEUNIT { 
  DISPLAY_MOVEUNIT_PreviousLine      = 1,
  DISPLAY_MOVEUNIT_NextLine          = 2,
  DISPLAY_MOVEUNIT_CurrentLineStart  = 3,
  DISPLAY_MOVEUNIT_CurrentLineEnd    = 4,
  DISPLAY_MOVEUNIT_TopOfWindow       = 5,
  DISPLAY_MOVEUNIT_BottomOfWindow    = 6
} DISPLAY_MOVEUNIT;

Constants

  • DISPLAY_MOVEUNIT_PreviousLine
    Move the display pointer to the previous line.

  • DISPLAY_MOVEUNIT_NextLine
    Move the display pointer to the next line.

  • DISPLAY_MOVEUNIT_CurrentLineStart
    Move the display pointer to the beginning of the line it is on.

  • DISPLAY_MOVEUNIT_CurrentLineEnd
    Move the display pointer to the end of the line it is on.

  • DISPLAY_MOVEUNIT_TopOfWindow
    Move the display pointer to the topmost and leftmost position of the window it is in (staying within the markup).

  • DISPLAY_MOVEUNIT_BottomOfWindow
    Move the display pointer to the bottommost and rightmost position of the window it is in (staying within the markup).

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl