This custom interface provides methods to MSHTML so that a rendering behavior can provide certain special event handling.
GetEventInfoFlags Called by MSHTML to determine whether the IHTMLPainterEventInfo::GetEventTarget and IHTMLPainterEventInfo::SetCursor methods of this interface are to be called in response to successful hit-tests on the element to which the rendering behavior is attached. GetEventTarget Called by MSHTML after a successful hit-test on a rendering behavior to transfer event handling to another element. SetCursor Called by MSHTML during mouseover events on the element to which the behavior is attached to enable the behavior to change the insertion point icon. StringFromPartID Called by MSHTML during a call to IHTMLElement2::componentFromPoint so that a behavior can specify a name for the component.
MSHTML calls the methods of IHTMLPainterEventInfo during a successful hit-test on a rendering behavior. These methods give a rendering behavior the opportunity to transfer events to other elements in a document and to change the insertion point icon.
When a rendering behavior is instantiated on a page, MSHTML automatically calls QueryInterface on the behavior's IHTMLPainter interface and requests an IHTMLPainterEventInfo interface pointer to determine if one is present. If it is, MSHTML will call the methods of IHTMLPainterEventInfo in conjunction with calls to IHTMLPainter::HitTestPoint.
Stock Implementation mshtmled.dll Custom Implementation Yes Inherits from IUnknown Header and IDL files mshtml.h, mshtml.idl Minimum availability Internet Explorer 5.5 Minimum operating systems Windows 95, Windows NT 4.0, Windows CE 4.0