Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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