I'm using the CHOOSECOLOR dialog, but in my app(C++/WinAPI) it looks wierd. Dialog has large luminosity slider and I do not why. I haven't found a way to make the slider smaller.
a busy cat http://toxicbumble.com/color_dialog.png
Dialog is created by this code (it's example code from MSDN):
CHOOSECOLOR cc; // common dialog box structure
static COLORREF acrCustClr[16]; // array of custom colors
HWND hwnd; // owner window
HBRUSH hbrush; // brush handle
static DWORD rgbCurrent; // initial color selection
// Initialize CHOOSECOLOR
ZeroMemory(&cc, sizeof(cc));
cc.lStructSize = sizeof(cc);
cc.hwndOwner = hwnd;
cc.lpCustColors = (LPDWORD) acrCustClr;
cc.rgbResult = rgbCurrent;
cc.Flags = CC_FULLOPEN | CC_RGBINIT;
ChooseColor(&cc);