Click here to Skip to main content
15,867,453 members
Articles / Desktop Programming / MFC
Article

Office 2000 style colour picker By Shailesh Litake

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
13 May 2002 83.8K   1.1K   17   13
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


Written By
Web Developer
India India
I am a Bachelor of Computer Engineering. Currently I am working as a software developer in a multinational company . Also I am MCP in VC 6.0.

Comments and Discussions

 
QuestionLicense Pin
prakumar4-Sep-15 1:09
prakumar4-Sep-15 1:09 
GeneralDo not remove copyright notices from other's code Pin
Chris Maunder14-May-02 15:15
cofounderChris Maunder14-May-02 15:15 
GeneralRe: Do not remove copyright notices from other's code Pin
NormDroid12-Jun-02 7:04
professionalNormDroid12-Jun-02 7:04 
GeneralRe: Do not remove copyright notices from other's code Pin
Thomas Freudenberg12-Jun-02 8:17
Thomas Freudenberg12-Jun-02 8:17 
GeneralRe: Do not remove copyright notices from other's code Pin
EpicBoy12-Jun-02 8:35
EpicBoy12-Jun-02 8:35 
Generalcrazy Pin
Chris Losinger12-Jun-02 8:51
professionalChris Losinger12-Jun-02 8:51 
GeneralRe: crazy Pin
EpicBoy12-Jun-02 8:49
EpicBoy12-Jun-02 8:49 
GeneralRe: crazy Pin
Chris Losinger12-Jun-02 9:00
professionalChris Losinger12-Jun-02 9:00 
hmm. i guess that's different, then. Smile | :)

-c


Beware the leader who bangs the drums of war to whip the public into patriotic fervor, for patriotism is a double-edged sword. It emboldens the blood and narrows the mind. When the drums of war have reached a fever pitch, the blood boils and the mind closed, the leader will not need to seize the rights of citizens. Rather, infused with fear and blinded by patriotism, they will gladly offer up their rights. How do I know? For this is what I have done. And I am Caesar.
GeneralRe: crazy Pin
NormDroid12-Jun-02 9:26
professionalNormDroid12-Jun-02 9:26 
GeneralRe: crazy Pin
NormDroid12-Jun-02 9:21
professionalNormDroid12-Jun-02 9:21 
GeneralRe: Do not remove copyright notices from other's code Pin
NormDroid12-Jun-02 9:18
professionalNormDroid12-Jun-02 9:18 
GeneralRe: Do not remove copyright notices from other's code Pin
NormDroid12-Jun-02 9:18
professionalNormDroid12-Jun-02 9:18 
GeneralRe: Do not remove copyright notices from other's code Pin
Led4-Feb-03 1:38
Led4-Feb-03 1:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.