BCGControlBar Pro for MFC
void AFXAPI DDX_BCGPColor ( CDataExchange *  pDX,
int  nIDC,
COLORREF &  value 
)

Initializes or retrieves the current value of a color picker control.

The DDX_BCGPColor function manages the transfer of color data between a color picker control (CBCGPColorButton) in a dialog box, form view, or control view and a COLORREF data member of the dialog box, form view, or control view object.

Parameters
pDXA pointer to a CDataExchange object.
nIDCThe resource ID of the color picker control associated with the member variable.
valueA reference to a COLORREF member variable of the dialog box, form view, or control view object with which data is exchanged.