Home COM GDI+ WebBrowser Data Access

IElementBehaviorRender Interface

 

IID_IElementBehaviorRender

{C4D244B0-D43E-11CF-893B-00AA00BDCE1A}

 

 

This interface enables a Dynamic HTML (DHTML) behavior to participate in the rendering of text and objects.

 

This interface is available in Microsoft Internet Explorer 5 but is not supported in later versions. Please use the IHTMLPainter and IHTMLPaintSite interfaces.

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IElementBehaviorRender Members

Description

Draw

Called by MSHTML to render the DHTML behavior.

GetRenderInfo

Retrieves rendering information for the Dynamic HTML (DHTML) behavior.

HitTestPoint

Retrieves a value that specifies whether the point is contained in the Dynamic HTML (DHTML) behavior.

 

Draw

 

FUNCTION IElementBehaviorRender_Draw ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL hdc AS DWORD _
, BYVAL lLayer AS LONG _
, BYREF pRect AS RECT _
, BYVAL pReserved AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IElementBehaviorRender_Draw (pthis, hdc, lLayer, pRect, pReserved) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetRenderInfo

 

FUNCTION IElementBehaviorRender_GetRenderInfo ( _
  BYVAL pthis AS DWORD PTR _
, BYREF plRenderInfo AS LONG _
  ) AS LONG

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

END FUNCTION

 

 

HitTestPoint

 

FUNCTION IElementBehaviorRender_HitTestPoint ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pPoint AS POINTAPI _
, BYVAL pReserved AS DWORD _
, BYREF pbHit AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING IElementBehaviorRender_HitTestPoint (pthis, pPoint, pReserved, pbHit) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 19:51:30 +0200