开发者

Only 16 colors for CColorDialog?

Someone knows some way of putting only 16 colors in the CColorDialog of Visual Studio c开发者_Python百科++ when it is opened?


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:

Only 16 colors for CColorDialog?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜