DHTML Behaviors C++ Reference

This reference covers the interfaces that provide support for Dynamic HTML (DHTML) behaviors.

Interfaces

IElementBehavior

Provides a notification mechanism so that MSHTML can communicate with a behavior.

IElementBehaviorCategory

Identifies a DHTML behavior by category.

IElementBehaviorFactory

Provides a standard mechanism for MSHTML to locate and instantiate a DHTML behavior.

IElementBehaviorFocus

Enables an element behavior to provide its own focus rectangle.

IElementBehaviorLayout

Implemented by a binary element behavior to use in the layout process.

IElementBehaviorLayout2

Extends the IElementBehaviorLayout interface, which enables binary behaviors to participate in the layout process.

IElementBehaviorRender

TEnables a DHTML behavior to participate in the rendering of text and objects.

IElementBehaviorSite

Provides communication between MSHTML and a DHTML behavior.

IElementBehaviorSiteCategory

Provides DHTML behaviors with a way to identify other behaviors by category.

IElementBehaviorSiteLayout

Allows behaviors to control the layout process.

IElementBehaviorSiteLayout2

Extends the IElementBehaviorSiteLayout interface, which enables behaviors to control the layout process.

IElementBehaviorSiteOM

Provides event services to DHTML behaviors.

IElementBehaviorSiteOM2

Enables binary element behaviors to get the default values.

IElementBehaviorSiteRender

Enables an element behavior to receive notification of changes in the rendering environment.

IElementBehaviorSubmit

Enables the element behaviors that reside in a form to submit data.

IElementNamespace

Provides a standard mechanism for creating an element behavior.

IElementNamespaceFactory

Provides a standard mechanism to create element behaviors for a namespace.

IElementNamespaceFactory2

Extends IElementNamespaceFactory and provides a standard mechanism for creating an element behavior for a specific namespace and implementation.

IElementNamespaceFactoryCallback

Provides a standard mechanism for hosts of MSHTML to resolve tag names.

IElementNamespaceTable

Provides a mechanism for an MSHTML host to add its own namespaces and to create tags for those namespaces.

IHostBehaviorInit

Enables the host application to populate the namespace table for the current document.

IHTMLElementDefaults

This interface provides the ability to programmatically set default properties on an element behavior.

IHTMLNamespace

This interface provides a means to dynamically import an element behavior into a document.

IHTMLNamespaceCollection

This interface is a collection of all namespace objects associated with the document.

IHTMLPainter

This custom interface provides methods to MSHTML so that it can draw a rendering behavior.

IHTMLPainterOverlay

This custom interface provides a method to MSHTML that enables a rendering behavior to use the Microsoft DirectDraw hardware overlay buffer, if the buffer is present.

IHTMLPaintSite

This interface provides methods that enable a rendering behavior to communicate with MSHTML from within the behavior's implementation of the IHTMLPainter::Draw and IHTMLPainter::HitTestPoint methods.

IHTMLSubmitData

Allows element behaviors to add to the form submission data sent to a server.

Enumerations

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.

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.