在MFC中更改ListControl的颜色

在MFC中更改ListControl的颜色

本文介绍了在MFC中更改ListControl的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ListControl
Col1 Col2

Item1 Item2
Item3 Item4
Item5 Item6

我希望每一行都有单独的颜色.第一行color1,第二行color2,依此类推.否则我想要Item1 color1 Item2 color2,依此类推.

谢谢.

I have a ListControl
Col1 Col2

Item1 Item2
Item3 Item4
Item5 Item6

I want each row to have a separate color. 1st row color1, 2nd row color2 and so on. Or else I want Item1 color1 Item2 color2 and so on.

Thank you.

推荐答案


这篇关于在MFC中更改ListControl的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 12:31