Toolbar Color Picker

Fully implemented BCGControlBar Pro (MFC)

Not available BCGSuite (MFC)

Fully implemented BCGControlBar for .NET

BCGControlBar Library allows to place the Office Style Color picker on a toolbar. The Color picker may have automatic or fill color button, hex display and an extended color selection dialog.

Toolbar's cololr picker:

Toolbar's cololr picker:

"Torn-off" color bar

"Torn-off" color bar

Sample code:

CPalette palColorPicker;

CBCGPColorMenuButton colorButton(
	ID_TEXT_COLOR, 
	_T("Text Color..."), 
	&palColorPicker);

colorButton.EnableAutomaticButton(
	_T("Automatic"), 
	RGB (0, 0, 0));
colorButton.EnableOtherButton(
	_T("More Colors..."));
colorButton.EnableDocumentColors(
	_T("Document's Colors"));
colorButton.SetColumnsNumber(8);
colorButton.EnableTearOff(
	ID_COLOR_TEAROFF, 5, 2);

m_wndToolBar.ReplaceButton(
	ID_TEXT_COLOR, colorButton);