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.
pDX | A pointer to a CDataExchange object. |
nIDC | The resource ID of the color picker control associated with the member variable. |
value | A reference to a COLORREF member variable of the dialog box, form view, or control view object with which data is exchanged. |