Home COM GDI+ WebBrowser Data Access

IHTMLPaintSite Interface

 

IID_IHTMLPaintSite

{3050F6A7-98B5-11CF-BB82-00AA00BDCE0B}

 

 

This interface provides methods that enable you to work with display pointers and the insertion point as they relate to the on-screen layout.

 

Documentation: IHTMLPaintSite Interface

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IHTMLPaintSite Methods

Description

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.

GetDrawInfo

Retrieves information about requirements that the IHTMLPainter::Draw method must meet.

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.

GetHitTestCookie

Retrieves the behavior identifier, or "cookie," for the rendering behavior.

 

InvalidatePainterInfo

 

FUNCTION IHTMLPaintSite_InvalidatePainterInfo ( _
  BYVAL pthis AS DWORD PTR _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IHTMLPaintSite_InvalidatePainterInfo (pthis) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

InvalidateRect

 

FUNCTION IHTMLPaintSite_InvalidateRect ( _
  BYVAL pthis AS DWORD PTR _
, BYREF prcInvalid AS RECT _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IHTMLPaintSite_InvalidateRect (pthis, prcInvalid) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

InvalidateRegion

 

FUNCTION IHTMLPaintSite_InvalidateRegion ( _
  BYVAL pthis AS DWORD PTR _
, BYREF rgnInvalid AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING IHTMLPaintSite_InvalidateRegion (pthis, rgnInvalid) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetDrawInfo

 

FUNCTION IHTMLPaintSite_GetDrawInfo ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL lFlags AS LONG _
, BYREF pDrawInfo AS HTML_PAINT_DRAW_INFO _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[6] USING IHTMLPaintSite_GetDrawInfo (pthis, lFlags, pDrawInfo) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

TransformGlobalToLocal

 

FUNCTION IHTMLPaintSite_TransformGlobalToLocal ( _
  BYVAL pthis AS DWORD PTR _
, BYREF ptGlobal AS POINTAPI _
, BYREF pptLocal AS POINTAPI _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[7] USING IHTMLPaintSite_TransformGlobalToLocal (pthis, ptGlobal, pptLocal) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

TransformLocalToGlobal

 

FUNCTION IHTMLPaintSite_TransformLocalToGlobal ( _
  BYVAL pthis AS DWORD PTR _
, BYREF ptLocal AS POINTAPI _
, BYREF pptGlobal AS POINTAPI _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[8] USING IHTMLPaintSite_TransformLocalToGlobal (pthis, ptLocal, pptGlobal) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetHotTestCookie

 

FUNCTION IHTMLPaintSite_GetHotTestCookie ( _
  BYVAL pthis AS DWORD PTR _
, BYREF plCookie AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[9] USING IHTMLPaintSite_GetHotTestCookie (pthis, plCookie) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 19:58:33 +0200