共用方式為


DDX_DHtml_ElementInnerText

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

DDX_DHtml_ElementInnerText(
   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_INNERTEXT dispatch ID.

Requirements

Header: afxdhtml.h

See Also

Concepts

DDX_DHtml Helper Macros

innerText Property (IHTMLElement)