Partager via


GetRenderInfo method

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

Syntax

HRESULT retVal = object.GetRenderInfo(plRenderInfo);

Parameters

plRenderInfo [in, out, retval]

Type: LONG

A pointer to an unsigned long integer value that specifies how the DHTML behavior is rendered. It can be one or more of the following values.

BEHAVIORRENDERINFO_3DSURFACE

Behavior requires a Direct3D surface.

BEHAVIORRENDERINFO_ABOVECONTENT

Renders the behavior after rendering the foreground.

BEHAVIORRENDERINFO_AFTERBACKGROUND

Renders the behavior after rendering the background.

BEHAVIORRENDERINFO_AFTERCONTENT

Renders the behavior after rendering the content.

BEHAVIORRENDERINFO_AFTERFOREGROUND

Renders the behavior after rendering the foreground.

BEHAVIORRENDERINFO_ALLLAYERS

Masks one or more of the following flagged constants when the defined parameters are true. BEHAVIORRENDERINFO_BEFOREBACKGROUNDBEHAVIORRENDERINFO_AFTERBACKGROUNDBEHAVIORRENDERINFO_BEFORECONTENTBEHAVIORRENDERINFO_AFTERCONTENTBEHAVIORRENDERINFO_AFTERFOREGROUNDBEHAVIORRENDERINFO_ABOVECONTENT.

BEHAVIORRENDERINFO_BEFOREBACKGROUND

Renders the behavior before rendering the background.

BEHAVIORRENDERINFO_BEFORECONTENT

Renders the behavior before rendering the content.

BEHAVIORRENDERINFO_BEFOREFOREGROUND

Not implemented. Renders the behavior before rendering the foreground.

BEHAVIORRENDERINFO_DISABLEALLLAYERS

Masks one or more of the following disable flags when defined parameters are true. Combine with render positioning flags to determine draw location. BEHAVIORRENDERINFO_DISABLEBACKGROUNDBEHAVIORRENDERINFO_DISABLENEGATIVEZBEHAVIORRENDERINFO_DISABLECONTENTBEHAVIORRENDERINFO_DISABLEPOSITIVEZ

BEHAVIORRENDERINFO_DISABLEBACKGROUND

Disables MSHTML rendering of the background.

BEHAVIORRENDERINFO_DISABLECONTENT

Disables MSHTML rendering of content.

BEHAVIORRENDERINFO_DISABLENEGATIVEZ

Disables MSHTML rendering of negative z positions.

BEHAVIORRENDERINFO_DISABLEPOSITIVEZ

Disables MSHTML rendering of positive z positions.

BEHAVIORRENDERINFO_HITTESTING

Behavior participates in hit testing.

BEHAVIORRENDERINFO_SURFACE

Behavior requires a DirectDraw surface.

Remarks

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