Introduction
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
dlg.SetColor(RGB(0,0,255));
int nResponse = dlg.DoModal()
if (nResponse == IDOK)
{
COLORREF crReturn = dlg.GetColor();
}
That's all
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.