CListCtrl自绘(实现选中行变高亮色)

上传者: allen_lanyuhai | 上传时间: 2021-09-15 16:08:13 | 文件大小: 1.81MB | 文件类型: RAR
通过自绘的方式,去实现CListCtrl选中之后改变其颜色..

文件下载

资源详情

[{"title":"( 31 个子文件 1.81MB ) CListCtrl自绘(实现选中行变高亮色)","children":[{"title":"CListCtrlTest","children":[{"title":"CListCtrlTest.plg <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"CListCtrlTest.aps <span style='color:#111;'> 34.74KB </span>","children":null,"spread":false},{"title":"CListCtrlTest.ncb <span style='color:#111;'> 41.00KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 215B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 691B </span>","children":null,"spread":false},{"title":"CListCtrlTestDlg.cpp <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"CListCtrlTest.cpp <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"CListCtrlTest.opt <span style='color:#111;'> 48.50KB </span>","children":null,"spread":false},{"title":"MyListCtrl.h <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"CListCtrlTestDlg.obj <span style='color:#111;'> 24.55KB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 356.00KB </span>","children":null,"spread":false},{"title":"CListCtrlTest.ilk <span style='color:#111;'> 233.75KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 201.00KB </span>","children":null,"spread":false},{"title":"CListCtrlTest.pdb <span style='color:#111;'> 385.00KB </span>","children":null,"spread":false},{"title":"CListCtrlTest.obj <span style='color:#111;'> 13.68KB </span>","children":null,"spread":false},{"title":"MyListCtrl.obj <span style='color:#111;'> 13.98KB </span>","children":null,"spread":false},{"title":"CListCtrlTest.res <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 103.01KB </span>","children":null,"spread":false},{"title":"CListCtrlTest.pch <span style='color:#111;'> 5.24MB </span>","children":null,"spread":false},{"title":"CListCtrlTest.exe <span style='color:#111;'> 104.06KB </span>","children":null,"spread":false}],"spread":false},{"title":"CListCtrlTestDlg.h <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"CListCtrlTest.dsw <span style='color:#111;'> 532B </span>","children":null,"spread":false},{"title":"CListCtrlTest.clw <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"CListCtrlTest.dsp <span style='color:#111;'> 4.31KB </span>","children":null,"spread":false},{"title":"CListCtrlTest.h <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"CListCtrlTest.rc2 <span style='color:#111;'> 405B </span>","children":null,"spread":false},{"title":"CListCtrlTest.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"MyListCtrl.cpp <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"CListCtrlTest.rc <span style='color:#111;'> 5.22KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • haoxigua753 :
    很好的自绘方法,不过有点笨,是个笨法,通过customdraw消息的方法比较好
    2016-04-21
  • dongyushen_r :
    代码写得很仔细,适合加强对控件开发的理解。
    2014-11-25
  • y601500359 :
    customdraw,一个很不错的重绘方法,功能还不错,稍加修改就利用在自己的项目了
    2013-12-13
  • skjg2006 :
    很好的自绘方法,适合新手,学习了
    2013-12-04
  • u010503121 :
    挺好的,代码很简单,功能很专一,给了我很大的启发
    2013-09-03

免责申明

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