Compartilhar via


DISPLAY_GRAVITY enumeration

Contains display gravity options for the IDisplayPointer::GetDisplayGravity and IDisplayPointer::SetDisplayGravity methods.

Syntax

typedef enum _DISPLAY_GRAVITY { 
  DISPLAY_GRAVITY_PreviousLine  = 1,
  DISPLAY_GRAVITY_NextLine      = 2
} DISPLAY_GRAVITY;

Constants

  • DISPLAY_GRAVITY_PreviousLine
    The display pointer will stay with the previous line when there are ambiguities about its position.

  • DISPLAY_GRAVITY_NextLine
    The display pointer will stay with the next line when there are ambiguities about its position.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl