Someone knows some way of putting only 16 colors in the CColorDialog of Visual Studio c++ when it is opened?
+1
A:
I don't think that's possible with the standard MFC CColorDialog.
But if you really only need 16 colors, wouldn't it make more sense to use something more simple like a combo box to pick a color, in stead of a full dialog?
Here's a Code Project article with an example implementation of a Color Picker Combo Box:
fretje
2010-03-25 12:58:53