CDHtmlDialog::DDX_DHtml_ElementText
在变量的成员和任何HTML元素的特性之间交换数据在HTML页。
void DDX_DHtml_ElementText(
CDataExchange* pDX,
LPCTSTR szId,
DISPID dispid,
CString& value
);
void DDX_DHtml_ElementText(
CDataExchange* pDX,
LPCTSTR szId,
DISPID dispid,
short& value
);
void DDX_DHtml_ElementText(
CDataExchange* pDX,
LPCTSTR szId,
DISPID dispid,
int& value
);
void DDX_DHtml_ElementText(
CDataExchange* pDX,
LPCTSTR szId,
DISPID dispid,
long& value
);
void DDX_DHtml_ElementText(
CDataExchange* pDX,
LPCTSTR szId,
DISPID dispid,
DWORD& value
);
void DDX_DHtml_ElementText(
CDataExchange* pDX,
LPCTSTR szId,
DISPID dispid,
float& value
);
void DDX_DHtml_ElementText(
CDataExchange* pDX,
LPCTSTR szId,
DISPID dispid,
double& value
);
参数
pDX
为 CDataExchange 对象的指针。szId
为HTML控件的ID参数指定的值。dispid
要交换数据HTML元素的调度ID。值
交换的值。
要求
Header: afxdhtml.h