MSHTML Constants

This section lists the constants defined by MSHTML.IDL.

In this section

Topic Description

BEHAVIOR_LAYOUT_INFO

Specifies the type of layout control the layout behavior exhibits.

BEHAVIOR_LAYOUT_MODE

Provides a layout behavior with information about the current state of the layout engine.

CARET_DIRECTION

Specifies to the IHTMLCaret::MoveCaretToPointer and IHTMLCaret::MoveCaretToPointerEx methods which direction should be the caret's forward direction.

COORD_SYSTEM

Contains values used by the IDisplayServices::TransformPoint and IDisplayPointer::MoveToPoint methods to specify the frame of reference for horizontal and vertical coordinates.

DISPLAY_BREAK

Contains values used by the IDisplayPointer::QueryBreaks method that describe the kind of break located at a display pointer's position.

DISPLAY_GRAVITY

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

DISPLAY_MOVEUNIT

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

ELEMENT_CORNER

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

ELEMENTDESCRIPTOR_FLAGS

Specifies the type of element behavior to create by the IElementNamespace::AddTag method.

ELEMENTNAMESPACE_FLAGS

Specifies options that MSHTML uses to add namespaces with the IElementNamespaceTable::AddNamespace method.

HT_OPTIONS

Contains hit-testing options used by the IDisplayPointer::MoveToPoint method.

HT_RESULTS

Contains hit-result options used by the IDisplayPointer::MoveToPoint method.

HTML_PAINT_DRAW_FLAGS

Used by MSHTML to pass information to the IHTMLPainter::Draw method for a rendering behavior's use.

HTML_PAINT_DRAW_INFO

Provides information that a rendering behavior might need to draw itself properly or more efficiently.

HTML_PAINT_DRAW_INFO_FLAGS

Specifies which HTML_PAINT_DRAW_INFO structure members to fill during a call to the IHTMLPaintSite::GetDrawInfo method.

HTML_PAINT_EVENT_FLAGS

Specifies which IHTMLPainterEventInfo methods should be called in response to successful hit-tests on the element to which a rendering behavior is attached.

HTML_PAINT_XFORM

Represents matrices in the HTML_PAINT_DRAW_INFO structure for transforming or translating a rendering behavior's display output when the behavior supports transformations.

HTML_PAINT_ZORDER

Indicates the order in which a behavior is to be rendered relative to the document content. Used in the lZOrder member of the HTML_PAINTER_INFO structure.

HTML_PAINTER

Specifies a behavior's rendering attributes and requirements. Used in the lFlags member of the HTML_PAINTER_INFO structure, which MSHTML retrieves when it calls IHTMLPainter::GetPainterInfo.

HTML_PAINTER_INFO

Passes information from a rendering behavior to MSHTML regarding the behavior's needs, functionality, and how it is to be rendered.

LINE_DIRECTION

Specifies whether a line of text reads from left to right or from right to left in a call to ILineInfo::lineDirection.

SAVE_SEGMENTS_FLAGS

Contains flags used by the IMarkupServices2::SaveSegmentsToClipboard method.

SECUREURLHOSTVALIDATE_FLAGS

Specifies the URL validation rules for ISecureUrlHost::ValidateSecureUrl.

SELECTION_TYPE

Specifies the current selection type in the ISelectionServices::SetSelectionType and ISegmentList::GetType methods.

VIEW_OBJECT_ALPHA_MODE

Specifies how the alpha value for a bitmap or render target should be treated in the buffer.

VIEW_OBJECT_COMPOSITION_MODE

Specifies the mode that a surface presentation uses when rendering.