【问题标题】:Only 16 colors for CColorDialog?CColorDialog 只有 16 种颜色?
【发布时间】:2010-03-23 08:23:25
【问题描述】:

有人知道在打开 Visual Studio c++ 的 CColorDialog 时只有 16 种颜色的方法吗?

【问题讨论】:

    标签: visual-c++ mfc dialog


    【解决方案1】:

    我认为标准的 MFC CColorDialog 不可能做到这一点。

    但如果你真的只需要 16 种颜色,那么使用组合框等更简单的东西来选择颜色而不是完整的对话框不是更有意义吗?

    Here's a Code Project article with an example implementation of a Color Picker Combo Box:

    【讨论】:

      猜你喜欢
      • 2021-07-20
      • 1970-01-01
      • 1970-01-01
      • 2014-10-11
      • 2011-10-31
      • 2020-12-01
      • 1970-01-01
      • 2014-12-03
      • 1970-01-01
      相关资源
      最近更新 更多