DHTML Behaviors C++ Reference
This reference covers the interfaces that provide support for Dynamic HTML (DHTML) behaviors.
Interfaces
IElementBehaviorProvides a notification mechanism so that MSHTML can communicate with a behavior.
IElementBehaviorCategoryIdentifies a DHTML behavior by category.
IElementBehaviorFactoryProvides a standard mechanism for MSHTML to locate and instantiate a DHTML behavior.
IElementBehaviorFocusEnables an element behavior to provide its own focus rectangle.
IElementBehaviorLayoutImplemented by a binary element behavior to use in the layout process.
IElementBehaviorLayout2Extends the IElementBehaviorLayout interface, which enables binary behaviors to participate in the layout process.
IElementBehaviorRenderTEnables a DHTML behavior to participate in the rendering of text and objects.
IElementBehaviorSiteProvides communication between MSHTML and a DHTML behavior.
IElementBehaviorSiteCategoryProvides DHTML behaviors with a way to identify other behaviors by category.
IElementBehaviorSiteLayoutAllows behaviors to control the layout process.
IElementBehaviorSiteLayout2Extends the IElementBehaviorSiteLayout interface, which enables behaviors to control the layout process.
IElementBehaviorSiteOMProvides event services to DHTML behaviors.
IElementBehaviorSiteOM2Enables binary element behaviors to get the default values.
IElementBehaviorSiteRenderEnables an element behavior to receive notification of changes in the rendering environment.
IElementBehaviorSubmitEnables the element behaviors that reside in a form to submit data.
IElementNamespaceProvides a standard mechanism for creating an element behavior.
IElementNamespaceFactoryProvides a standard mechanism to create element behaviors for a namespace.
IElementNamespaceFactory2Extends IElementNamespaceFactory and provides a standard mechanism for creating an element behavior for a specific namespace and implementation.
IElementNamespaceFactoryCallbackProvides a standard mechanism for hosts of MSHTML to resolve tag names.
IElementNamespaceTableProvides a mechanism for an MSHTML host to add its own namespaces and to create tags for those namespaces.
IHostBehaviorInitEnables the host application to populate the namespace table for the current document.
IHTMLElementDefaultsThis interface provides the ability to programmatically set default properties on an element behavior.
IHTMLNamespaceThis interface provides a means to dynamically import an element behavior into a document.
IHTMLNamespaceCollectionThis interface is a collection of all namespace objects associated with the document.
IHTMLPainterThis custom interface provides methods to MSHTML so that it can draw a rendering behavior.
IHTMLPainterOverlayThis 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.
IHTMLPaintSiteThis 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.
IHTMLSubmitDataAllows element behaviors to add to the form submission data sent to a server.
Enumerations
BEHAVIOR_LAYOUT_INFOSpecifies the type of layout control the layout behavior exhibits.
BEHAVIOR_LAYOUT_MODEProvides a layout behavior with information about the current state of the layout engine.
ELEMENTDESCRIPTOR_FLAGSSpecifies the type of element behavior to create by the IElementNamespace::AddTag method.
ELEMENTNAMESPACE_FLAGSSpecifies options that MSHTML uses to add namespaces with the IElementNamespaceTable::AddNamespace method.