Share via


CDHtmlDialog::SetElementText

Sets the innerText property of an HTML element.

void SetElementText( 
   LPCTSTR szElementId, 
   BSTR bstrText  
); 
void SetElementText( 
   IUnknown *punkElem, 
   BSTR bstrText  
);

Parameters

  • szElementId
    The ID of an HTML element.

  • bstrText
    The new value of the innerText property.

  • punkElem
    The IUnknown pointer of an HTML element.

Requirements

Header: afxdhtml.h

See Also

Reference

CDHtmlDialog Class

Hierarchy Chart

CDHtmlDialog::SetElementHtml

CDHtmlDialog::SetElementProperty

Other Resources

CDHtmlDialog Members