Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DDX_OCColorRO
TRY
Collapse the table of content
Expand the table of content

DDX_OCColorRO

The DDX_OCColorRO function manages the transfer of OLE_COLOR data between a read-only property of an OLE control in a dialog box, form view, or control view object and a OLE_COLOR data member of the dialog box, form view, or control view object.

void AFXAPI DDX_OCColorRO(
   CDataExchange* pDX,
   int nIDC,
   DISPID dispid,
   OLE_COLOR & 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

For more information about DDX, see Dialog Data Exchange and Validation.

See Also

MFC Macros and Globals | DDX_OCColor

Show:
© 2015 Microsoft