void AFXAPI DDX_Switch | ( | CDataExchange * | pDX, |
int | nIDC, | ||
int & | value | ||
) |
Initializes or retrieves the current value of a switch control.
The DDX_Switch function manages the transfer of boolean data between a switch control (CBCGPSwitchCtrl) in a dialog box, form view, or control view and a COleDateTimeSpan data member of the dialog box, form view, or control view object.
pDX | A pointer to a CDataExchange object. |
nIDC | The resource ID of the switch control associated with the member variable. |
value | A reference to an integer member variable of the dialog box, form view, or control view object with which data is exchanged. |