MFC CListCtrl-获取子项文本颜色. [英] MFC CListCtrl - To get subitem text color.
本文介绍了MFC CListCtrl-获取子项文本颜色.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
假设使用自定义绘图在列表控件中为特定项目设置了不同的文本颜色.如何在不使用自定义绘图的情况下获取该项目的文本颜色?
Suppose a different text color is set for a particular item in list control using custom draw.How to get the text color of this item without using custom draw?
推荐答案
如果您知道如何给颜色提供子项目,我想您知道如何使用相同的方式找到子项目的颜色...
if you know how to give a color a subitem, i guess you know how to find the color of the subitem using the same way itself...
这篇关于MFC CListCtrl-获取子项文本颜色.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文