Compartir a través de


IHTMLPainterOverlay interface

This custom interface provides a method to MSHTML that enables a rendering behavior to use the Microsoft DirectDraw hardware overlay buffer, if the buffer is present.

Members

The IHTMLPainterOverlay interface inherits from the IUnknown interface. IHTMLPainterOverlay also has these types of members:

  • Methods

Methods

The IHTMLPainterOverlay interface has these methods.

Method Description
OnMove

Called by MSHTML when the element to which a rendering behavior is attached is repositioned or resized on the screen.

 

Remarks

Note  Currently, this interface is not fully supported.

 

MSHTML calls the method of this inferface so that a rendering behavior can use the DirectDraw hardware overlay buffer for drawing, if the buffer is present.

To enable this feature, a rendering behavior must set the HTMLPAINTER_OVERLAY HTMLPAINTER_OVERLAY bit in the HTML_PAINTER structure that it passes to MSHTML in its implementation of IHTMLPainter::GetPainterInfo.

When the HTMLPAINTER_OVERLAY bit is set and a rendering behavior is instantiated on a page, MSHTML automatically calls QueryInterface on the behavior's IHTMLPainter interface and requests an IHTMLPainterOverlay interface pointer to determine if one is present. If it is, MSHTML calls the IHTMLPainterOverlay::OnMove method whenever the element to which a rendering behavior is attached is repositioned or resized on the screen.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mstime.dll

See also

Reference

IHTMLPainter

IHTMLPaintSite

IHTMLPainterEventInfo