BCGControlBar Pro for MFC
void CBCGPColorPickerCtrl::SetRGB ( COLORREF  ref)

Selects a color in a color picker.

The ref color becomes the current color and can be retrieved later by GetRGB() or GetColor().

Parameters
refAn RGB color value