Condividi tramite


CDHtmlDialog::SetElementProperty

Sets a property of an HTML element.

void SetElementProperty(
   LPCTSTR szElementId,
   DISPID dispid,
   VARIANT *pVar 
);

Parameters

  • szElementId
    The ID of an HTML element.

  • dispid
    The dispatch ID of the property to set.

  • pVar
    The new value of the property.

Requirements

Header: afxdhtml.h

See Also

Concepts

CDHtmlDialog Class

CDHtmlDialog Members

Hierarchy Chart

CDHtmlDialog::SetControlProperty

CDHtmlDialog::SetElementText

CDHtmlDialog::SetElementHtml