DDX_Radio

void AFXAPI DDX_Radio( CDataExchange* pDX, int nIDC, int& 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 resource ID of the radio control associated with the control property.

value

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

Remarks

The DDX_Radio function manages the transfer of int data between a radio control group in a dialog box, form view, or control view object and a int data member of the dialog box, form view, or control view object.

When DDX_Radio is called, value is set to the current state of the radio control group.

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.