MFC特强大CListCtrlEx(支持插入控件、设置颜色、始终高亮、列排序等)

上传者: paschen | 上传时间: 2019-12-21 20:26:00 | 文件大小: 65KB | 文件类型: rar
本资源中提供了CListCtrlEx的CPP与H文件与一个Demo示例,CListCtrlEx继承自CListCtrl,可以让您很方便的操作listCtrl控件。此类最初来源于网络,本人在其上进行加工整理,添加了一些新功能,优化了一些细节代码,同时使该类可用于VS的平台,同时支持Unicode。目前包括的功能有:可指定任意行、任意列、任意单元中设置其他控件,如Edit、Combo等;可指定任意单元格颜色(不需要再在CustomDraw里来实现);可让控件失去焦点后仍高亮显示;可以按任意列进行排列列表等。本人在网上找过很多此控件的资源,这个可以说是最好的一个,绝对值得收藏使用!!

文件下载

资源详情

[{"title":"( 29 个子文件 65KB ) MFC特强大CListCtrlEx(支持插入控件、设置颜色、始终高亮、列排序等)","children":[{"title":"CListCtrlEx","children":[{"title":"Demo","children":[{"title":"stdafx.cpp <span style='color:#111;'> 215B </span>","children":null,"spread":false},{"title":"MsgHook.cpp <span style='color:#111;'> 4.66KB </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"DlgColor.cpp <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"MsgHook.h <span style='color:#111;'> 588B </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"BuildLog.htm <span style='color:#111;'> 6.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"CListCtrlExDemo.rc2 <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"CListCtrlExDemo.ico <span style='color:#111;'> 21.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"CListCtrlExDemo.cpp <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"CListCtrlExDemo.rc <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"CListCtrlExDemo.vcproj <span style='color:#111;'> 5.72KB </span>","children":null,"spread":false},{"title":"CListCtrlExDemo.aps <span style='color:#111;'> 58.39KB </span>","children":null,"spread":false},{"title":"CListCtrlExDemo.h <span style='color:#111;'> 558B </span>","children":null,"spread":false},{"title":"CListCtrlExDemoDlg.h <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"CListCtrlExDemo.suo <span style='color:#111;'> 39.40KB </span>","children":null,"spread":false},{"title":"CListCtrlExDemo.vcproj.DENNISCHEN.User.user <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"CListCtrlExDemoDlg.cpp <span style='color:#111;'> 7.76KB </span>","children":null,"spread":false},{"title":"CListCtrlExDemo.sln <span style='color:#111;'> 894B </span>","children":null,"spread":false},{"title":"ListCtrlEx.cpp <span style='color:#111;'> 29.77KB </span>","children":null,"spread":false},{"title":"CListCtrlExDemo.exe <span style='color:#111;'> 72.00KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"BuildLog.htm <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false}],"spread":false},{"title":"ListCtrlEx.h <span style='color:#111;'> 7.66KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false},{"title":"DlgColor.h <span style='color:#111;'> 461B </span>","children":null,"spread":false}],"spread":false},{"title":"ListCtrlEx","children":[{"title":"MsgHook.cpp <span style='color:#111;'> 4.66KB </span>","children":null,"spread":false},{"title":"MsgHook.h <span style='color:#111;'> 588B </span>","children":null,"spread":false},{"title":"ListCtrlEx.cpp <span style='color:#111;'> 29.77KB </span>","children":null,"spread":false},{"title":"ListCtrlEx.h <span style='color:#111;'> 7.66KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • 牛魔皇 :
    只能设置颜色,是不需要设置owner draw,但一般还需要设置行高,就需要设置owner draw了,在owner draw模式下,这个封装有问题,不能正常显示。需要改进。
    2021-03-07
  • @老草@ :
    控件很好用!
    2020-10-28
  • 走好每一步 :
    挺不错的,可惜就是没有很好的封装,封装的不够优雅
    2020-06-17
  • yao_o_o :
    额,之前下的,都忘了内容是什么了,回来评价下
    2020-04-18
  • langfangshizi :
    非常好的例子,学习了!
    2019-10-31

免责申明

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