Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This custom interface provides methods to MSHTML so that it can draw a rendering behavior.
Members
The IHTMLPainter interface inherits from the IUnknown interface. IHTMLPainter also has these types of members:
- Methods
Methods
The IHTMLPainter interface has these methods.
Method | Description |
---|---|
Draw | Called by MSHTML to render a behavior in the browser's client area. |
GetPainterInfo | Called by MSHTML to retrieve information about the needs and functionality of a rendering behavior. |
HitTestPoint | Called by MSHTML to retrieve a value that specifies whether a point is contained in a rendering behavior. |
OnResize | Called by MSHTML when an element containing a rendering behavior is resized. |
Remarks
MSHTML calls the methods of IHTMLPainter whenever a rendered behavior needs to be redrawn or when a mouse click occurs on the element to which the behavior is attached. A rendering behavior must supply an implementation of this interface to MSHTML.
When a behavior is instantiated on a page, MSHTML automatically calls QueryInterface on the behavior's IElementBehavior interface, requesting an IHTMLPainter interface pointer to determine if the behavior is also a rendering behavior.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
See also
Reference