BCGControlBar Pro for MFC
void CBCGPColorButton::SetDocumentColors ( LPCTSTR  lpszLabel,
CList< COLORREF, COLORREF > &  lstColors 

Allows to specify a list of RGB values to be displayed on the color bar as document colors.

A CBCGPColorButton object maintains a separate list of RGB values that are transferred to a color bar CBCGPColorBar object when it is being displayed. These colors are shown in the special section labeled as specified by the lpszLabel parameter.

lpszLabelSpecifies a text to be displayed with the document colors.
lstColorsA reference to list of RGB values.