CListCtrl继承类,修改行高

上传者: ecbtnrt | 上传时间: 2020-01-08 03:02:25 | 文件大小: 56KB | 文件类型: rar
自绘list ctrl类,实现列表控件的行高修改,背景颜色的设置,及表头的相关修改,大家可以好好学习下,挺有帮助的

文件下载

资源详情

[{"title":"( 42 个子文件 56KB ) CListCtrl继承类,修改行高","children":[{"title":"VC6.0版本示例","children":[{"title":"DemoList","children":[{"title":"ListCtrlCl.h <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"DemoListDlg.h <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"DemoList.rc <span style='color:#111;'> 5.21KB </span>","children":null,"spread":false},{"title":"DemoList.clw <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"DemoList.h <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"DemoList.cpp <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"HeaderCtrlCl.cpp <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"HeaderCtrlCl.h <span style='color:#111;'> 623B </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"DemoList.dsw <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"DemoList.dsp <span style='color:#111;'> 4.36KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"DemoList.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"DemoList.rc2 <span style='color:#111;'> 400B </span>","children":null,"spread":false}],"spread":false},{"title":"ListCtrlCl.cpp <span style='color:#111;'> 7.95KB </span>","children":null,"spread":false},{"title":"DemoListDlg.cpp <span style='color:#111;'> 5.86KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"VS2005版本示例","children":[{"title":"DemoList","children":[{"title":"DemoList.sln <span style='color:#111;'> 889B </span>","children":null,"spread":false},{"title":"DemoList","children":[{"title":"ListCtrlCl.h <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"DemoListDlg.h <span style='color:#111;'> 647B </span>","children":null,"spread":false},{"title":"DemoList.vcproj.4437C6B49E6A4C6.Administrator.user <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"DemoList.vcproj.C7E6AB63C40D441.Administrator.user <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"DemoList.rc <span style='color:#111;'> 4.98KB </span>","children":null,"spread":false},{"title":"DemoList.vcproj <span style='color:#111;'> 5.61KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"DemoList.h <span style='color:#111;'> 453B </span>","children":null,"spread":false},{"title":"DemoList.cpp <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"HeaderCtrlCl.cpp <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"HeaderCtrlCl.h <span style='color:#111;'> 623B </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 680B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"DemoList.ico <span style='color:#111;'> 21.12KB </span>","children":null,"spread":false},{"title":"DemoList.rc2 <span style='color:#111;'> 364B </span>","children":null,"spread":false}],"spread":false},{"title":"ListCtrlCl.cpp <span style='color:#111;'> 7.95KB </span>","children":null,"spread":false},{"title":"DemoListDlg.cpp <span style='color:#111;'> 4.75KB </span>","children":null,"spread":false}],"spread":false},{"title":"DemoList.suo <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"重用类","children":[{"title":"ListCtrlCl.h <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"HeaderCtrlCl.cpp <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"HeaderCtrlCl.h <span style='color:#111;'> 623B </span>","children":null,"spread":false},{"title":"ListCtrlCl.cpp <span style='color:#111;'> 7.95KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • stone_wang5 :
    挺不错的 不过发现有一个内存泄漏的问题,在setTextColor方法中new 出来的stColor结构体对象没有释放
    2016-12-02
  • longsanjingye :
    代码不错,功能强大,最美观
    2015-10-19
  • 不得不得 :
    代码不错,可以运行,可供参考。
    2015-04-28
  • u010025913 :
    在DrawItem中绘制,请教怎么绘制网格颜色?
    2015-01-30
  • KingWinSea :
    总结的不错, 学些了。谢谢。
    2014-09-24

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明