DDX_Text详细用法

void AFXAPI DDX_Text( CDataExchange* pDX, int nIDC, BYTE& value );

void AFXAPI DDX_Text( CDataExchange* pDX, int nIDC, short& value );

void AFXAPI DDX_Text( CDataExchange* pDX, int nIDC, int& value);

void AFXAPI DDX_Text( CDataExchange* pDX, int nIDC, UINT& value );

void AFXAPI DDX_Text( CDataExchange* pDX, int nIDC, long& value );

void AFXAPI DDX_Text( CDataExchange* pDX, int nIDC, DWORD& value );

void AFXAPI DDX_Text( CDataExchange* pDX, int nIDC, CString& value );

void AFXAPI DDX_Text( CDataExchange* pDX, int nIDC, float& value );

void AFXAPI DDX_Text( CDataExchange* pDX, int nIDC, double& value );

void AFXAPI DDX_Text( CDataExchange* pDX, int nIDC, COleCurrency& value );

void AFXAPI DDX_Text( CDataExchange* pDX, int nIDC, COleDateTime& value );

Parameters

pDX

A pointer to a CDataExchange object. The framework supplies this object to establish the context of the data exchange, including its direction.

nIDC

The ID of an edit control in the dialog box, form view, or control view object.

value

A reference to a data member in the dialog box, form view, or control view object. The data type of value depends on which of the overloaded versions of DDX_Text you use.

Remarks

The DDX_Text function manages the transfer of intUINTlongDWORDCStringfloat, or double data between an edit control in a dialog box, form view, or control view and a CString data member of the dialog box, form view, or control view object.

转载于:https://www.cnblogs.com/qxzy/p/3972638.html

你可能感兴趣的:(DDX_Text详细用法)