Click here to Skip to main content
14,743,013 members
Articles » Desktop Development » Dialogs and Windows » General
Posted 14 Jul 2002


32 bookmarked

Xguiplus - A set of Photoshop's-like color pickers

Rate me:
Please Sign up or sign in to vote.
4.70/5 (11 votes)
14 Jul 2002
An MFC compliant Adobe Photoshop's-like Color Picker from xgui

Image 1


Jack Mesic wrote an extension to xgui written by Bobi B. xgui has a Photoshop-like color chooser. I think it is an incredible job and only added the following:

  • Interactive numerical HSV and RGB representations
  • Interactive hexadecimal representation (HTML)

Jacks version.

Bobi B's original version

How to use it:

Very easy! Simply add the following code in the header file of the class where you want to display the Color Picker Dialog:

#include "GTColorDialogDlg.h"

And in the .cpp file:

CGTColorDialogDlg dlg
int nResponse = dlg.DoModal()
if (nResponse == IDOK)
    COLORREF crReturn = dlg.GetColor();

That's all


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


About the Author

United States United States
No Biography provided

Comments and Discussions

GeneralMy vote of 5 Pin
lllxy19-May-13 2:05
Memberlllxy19-May-13 2:05 
GeneralA little problem Pin
valleskon12-Oct-06 19:48
Membervalleskon12-Oct-06 19:48 
GeneralA little bug found: Pin
MaxVolgin30-May-06 4:01
MemberMaxVolgin30-May-06 4:01 
AnswerRe: A little bug found: Pin
John Chapdelaine27-Aug-06 7:03
MemberJohn Chapdelaine27-Aug-06 7:03 
GeneralThanx, Pin
EPulse8-May-05 3:36
MemberEPulse8-May-05 3:36 
GeneralHelp Pin
DuFF7-Feb-03 18:01
MemberDuFF7-Feb-03 18:01 
GeneralStrange bug..solved. Pin
Andreas Muegge16-Sep-02 7:02
MemberAndreas Muegge16-Sep-02 7:02 
GeneralRe: Strange bug..solved. Pin
DarkoK16-Jul-03 18:31
MemberDarkoK16-Jul-03 18:31 
GeneralGood Job Pin
John O'Byrne22-Jul-02 5:58
MemberJohn O'Byrne22-Jul-02 5:58 
GeneralVery good but... Pin
Andreas Muegge22-Jul-02 5:18
MemberAndreas Muegge22-Jul-02 5:18 
GeneralRe: Very good but... Pin
dswigger22-Jul-02 8:12
Memberdswigger22-Jul-02 8:12 

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.