共用方式為


DDX_DHtml_ElementValue

Sets or retrieves the Value property from the selected control.

DDX_DHtml_ElementValue(
   CDataExchange* dx,
   LPCTSTR name,
   var 
)

Parameters

Remarks

This macro will only succeed when run on controls that have a Value property. Controls that have a Value property include edit boxes, list boxes, and combo boxes.

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

Requirements

Header: afxdhtml.h

See Also

Reference

DDX_DHtml Helper Macros