IHTMLPainterEventInfo interface
This custom interface provides methods to MSHTML so that a rendering behavior can provide certain special event handling.
Members
The IHTMLPainterEventInfo interface inherits from the IUnknown interface. IHTMLPainterEventInfo also has these types of members:
- Methods
Methods
The IHTMLPainterEventInfo interface has these methods.
Method | Description |
---|---|
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. |
Remarks
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.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtmled.dll |
See also
Reference