Office 2000 style colour picker By Shailesh Litake





5.00/5 (1 vote)
May 14, 2002

84952

1063
office style control
Introduction
This control is a simple modification to the "Color Picker" control By James White, which in turn is based off Chris Maunder's original Office 97 style Colour Picker.
The new code is a modification to the custom
dialog box, which is infact a standard CColour
dialog box.
Here I have used a dialog based property sheet to choose standard and custom colours.
I was hoping to capture the appearance of the color button that appears in some
Windows dialogs, including the Display Properties|Appearance property page. The code is very straightforward,
borrowed from the original CColourPicker
and introduces new drawing code to match as closely as possible the Windows color picker.
References
- A sophisticated color picker control By Rajiv Ramachandran
- A color picker button By James White
- Office 97 style Colour Picker By Chris Maunder
Revision History
12 Jun 2002 - Initial revision