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

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

 

 

Show:
© 2015 Microsoft