Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Office 2000 style colour picker By Shailesh Litake

0.00/5 (No votes)
13 May 2002 1  
office style control

Sample Image - colorpick.jpg

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

Revision History

12 Jun 2002 - Initial revision

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here