BCGControlBar Pro for MFC
void CBCGPColorMenuButton::EnableDocumentColors ( LPCTSTR  lpszLabel,
BOOL  bEnable = TRUE 
)

Allows to show a document colors instead of the system palette colors.

Use this member function when you want to display the current document colors instead of the system palette colors when a color bar pops up upon pressing this button.

Parameters
lpszLabelSpecifies a new button's text
bEnableSpecifies whether the current document colors should be enabled or not