BCGControlBar Pro for MFC
int CBCGPColorComboBox::AddColor ( COLORREF  color,
const CString &  strColorName 
)

Adds a new color item to the combo box.

Parameters
colorThe RGB value of the new item.
strColorNameNew item text label.
Returns
Zero-based index of the newly added color item