【文件属性】:
文件名称:给listCtrl控件给指定一行设置颜色
文件大小:130KB
文件格式:RAR
更新时间:2016-12-17 04:21:41
listCtrl控件 设置颜色
源代码来自:http://cool.worm.blog.163.com/blog/static/64339006200911925824375/
工程里面有个类CMyListCtrl继承自CListCtrl,里面有个函数SetItemColor,用户可以自己调用给特定的一行设置颜色,也可以自己在添加功能,工程是VS2008中创建,有测试例子,可以直接编译运行看结果。
【文件预览】:
test
----test()
--------test.h(433B)
--------resource.h(676B)
--------MyListControl.cpp(2KB)
--------stdafx.h(2KB)
--------test.cpp(2KB)
--------test.vcproj.LJ.keji1991.user(1KB)
--------targetver.h(1KB)
--------MyListControl.h(316B)
--------test.vcproj(5KB)
--------test.rc(5KB)
--------Debug()
--------stdafx.cpp(137B)
--------ReadMe.txt(3KB)
--------testDlg.cpp(4KB)
--------testDlg.h(617B)
--------res()
--------test.aps(102KB)
----Debug()
----test.sln(878B)
----test.suo(15KB)
网友评论
- 很好的资源,谢谢分享,研究中!
- 还行,里面还是有些小bug,修改后好用多了
- 资源不错,谢谢分享
- 有很大的帮助和指导
- 很好的资源,当时学习mfc时帮助不小。
- 很好的资源,谢谢分享,研究中!
- very good resource for programmers!