Microsoft Office like Color Dialog

Fully implemented BCGControlBar Pro (MFC)

Not available BCGSuite (MFC)

Not available BCGControlBar for .NET

This dialog is actually a property sheet with two pages. The first page allows to make a selection from one of the standard colors (from the system palette) using a list of colors in hexagon form, the second page displays a control that allows to select a custom color, using a luminance bar and hex display.

The user selects a particular color, which is then reported back to the application.

Microsoft Office like Color Dialog

Sample code:

CBCGPColorDialog dlg (m_Color /* Initial color */);

if (dlg.DoModal () == IDOK)
{
	m_Color = dlg.GetColor ();
}

Cookie consent

Cookies could be used by BCGSoft.com for analytical purposes. We must request that you accept them. Cookies are used on our website to enhance browsing experience and personalize it for you. Cookies are necessary in some circumstances for the site to operate properly. By using this website, you consent to the usage of cookies. Find out more details on BCGSoft Privacy Statement and Terms of Use.

I understand and accept it