The DDX_OCBool function manages the transfer of BOOL data between a property of an OLE control in a dialog box, form view, or control view object and a BOOL data member of the dialog box, form view, or control view object.
void AFXAPI DDX_OCBool( CDataExchange* pDX, int nIDC, DISPID dispid, BOOL& value );
- A pointer to a CDataExchange object. The framework supplies this object to establish the context of the data exchange, including its direction.
- The ID of an OLE control in the dialog box, form view, or control view object.
- The dispatch ID of a property of the control.
- A reference to a member variable of the dialog box, form view or control view object with which data is exchanged.
For more information about DDX, see Dialog Data Exchange and Validation.