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 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.
Members
The IHTMLPaintSite interface inherits from the IUnknown interface. IHTMLPaintSite also has these types of members:
- Methods
Methods
The IHTMLPaintSite interface has these methods.
Method | Description |
---|---|
GetDrawInfo | Retrieves information about requirements that the IHTMLPainter::Draw method must meet. |
GetHitTestCookie | Retrieves the behavior identifier, or "cookie," for the rendering behavior. |
InvalidatePainterInfo | Informs MSHTML that the information contained in the HTML_PAINTER_INFO structure has changed. |
InvalidateRect | Informs MSHTML that a rectangular area of a rendered behavior should be redrawn. |
InvalidateRegion | Informs MSHTML that a region of a rendered behavior should be redrawn. |
TransformGlobalToLocal | Converts a point's coordinates, expressed relative to the top left corner of the client area, to coordinates relative to the top left of the element to which a rendering behavior is attached. |
TransformLocalToGlobal | Converts a point's coordinates, expressed relative to the top left corner of the element to which a rendering behavior is attached, to coordinates relative to the top left of the client area. |
Remarks
You can obtain an IHTMLPaintSite interface by calling QueryInterface on a valid IElementBehaviorSite interface, using IID_IHTMLPaintSite for the IID.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |
See also
Reference