DDX_Control

void AFXAPI DDX_Control( CDataExchange* pDX, int nIDC, CWnd& rControl );

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 resource ID of the subclassed control associated with the control property.

rControl

A reference to a member variable of the dialog box, form view, or control view object with which data is exchanged.

Remarks

The DDX_Control function manages the transfer of data between a subclassed control in a dialog box, form view, or control view object and a CWnd data member of the dialog box, form view, or control view object.

For more information about DDX, see Adding a Dialog Box in Visual C++ Tutorials and Dialog Data Exchange and Validation in Visual C++ Programmer’s Guide.