Compartir a través de


ELEMENT_CORNER enumeration

Indicates to the IHTMLEditHost::SnapRect method which handle or corner of an element a user has selected during an element resize or move operation.

Syntax

typedef enum _ELEMENT_CORNER { 
  ELEMENT_CORNER_NONE         = 0,
  ELEMENT_CORNER_TOP          = 1,
  ELEMENT_CORNER_LEFT         = 2,
  ELEMENT_CORNER_BOTTOM       = 3,
  ELEMENT_CORNER_RIGHT        = 4,
  ELEMENT_CORNER_TOPLEFT      = 5,
  ELEMENT_CORNER_TOPRIGHT     = 6,
  ELEMENT_CORNER_BOTTOMLEFT   = 7,
  ELEMENT_CORNER_BOTTOMRIGHT  = 8
} ELEMENT_CORNER;

Constants

  • ELEMENT_CORNER_NONE
    The user has selected no corner or handle on the element.

  • ELEMENT_CORNER_TOP
    The user has selected the upper middle handle of the element.

  • ELEMENT_CORNER_LEFT
    The user has selected the left middle handle of the element.

  • ELEMENT_CORNER_BOTTOM
    The user has selected the bottom middle handle of the element.

  • ELEMENT_CORNER_RIGHT
    The user has selected the right middle handle of the element.

  • ELEMENT_CORNER_TOPLEFT
    The user has selected the upper-left corner of the element.

  • ELEMENT_CORNER_TOPRIGHT
    The user has selected the upper-right corner of the element.

  • ELEMENT_CORNER_BOTTOMLEFT
    The user has selected the bottom-left corner of the element.

  • ELEMENT_CORNER_BOTTOMRIGHT
    The user has selected the bottom-right corner of the element.

Remarks

ELEMENT_CORNER_NONE indicates that a move operation is taking place. All others indicate a resize operation.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl