Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IHTMLPainter interface

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

The IHTMLPainter interface has these methods.

MethodDescription
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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

See also

Reference
IHTMLPaintSite
IHTMLPainterEventInfo
IHTMLPainterOverlay

 

 

Community Additions

ADD
Show:
© 2015 Microsoft