共用方式為


DDX_DHtml_ElementInnerHtml

Sets or retrieves the HTML between the start and end tags of the current element.

DDX_DHtml_ElementInnerHtml(
   CDataExchange* dx,
   LPCTSTR name,
   CString& var 
)

Parameters

  • dx
    A pointer to a CDataExchange object.

  • name
    The value that you specified for the HTML control's ID parameter.

  • var
    The value being exchanged.

Remarks

This macro calls the CDHtmlDialog::DDX_DHtml_ElementText function using the DISPID_IHTMLELEMENT_INNERHTML dispatch ID.

Requirements

Header: afxdhtml.h

See Also

Concepts

DDX_DHtml Helper Macros

innerHTML Property (IHTMLElement)