Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Just declare the CExtColorDlg object and call DoModal(). Use m_strCaption member to set a custom dialog caption. To set initial colors, use m_clrInit and m_clrNew members. The dialog provides several color picker modes, some of them are demonstrated below: