Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用CComboBoxExMFC 中的控件为将来的绘图选择颜色。我的 ComboBox 中的项目有小图片——颜色示例和颜色名称。一切都很好,除了一件烦人的事情——当我选择某个项目时,不仅所选项目中的文本具有不同的背景,而且图片本身也发生了变化。如何仅更改文本的背景颜色?
CComboBoxEx