void AFXAPI DDX_OCInt( CDataExchange* pDX, int nIDC, DISPID dispid, int& value );
void AFXAPI DDX_OCInt( CDataExchange* pDX, int nIDC, DISPID dispid, long& 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 OLE control in the dialog box, form view, or control view object.
dispid
The dispatch ID of a property of the control.
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_OCInt function manages the transfer of int (or long) data between a property of an OLE control in a dialog box, form view, or control view object and a int (or long) 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.
See Also DDX_OCIntRO