MFC控件CTabCtrl的重绘,支持背景颜色、tab头字体颜色、背景色的修改

上传者: shenhch | 上传时间: 2022-05-23 23:06:34 | 文件大小: 71.98MB | 文件类型: ZIP
由于CTabCtrl控件的tab切换当前选中tab很不明显,所以参考官方文档自己写了一个派生类,实现了背景颜色的调整,重绘,突出显示当前选中tab,应用灵活。

文件下载

资源详情

[{"title":"( 45 个子文件 71.98MB ) MFC控件CTabCtrl的重绘,支持背景颜色、tab头字体颜色、背景色的修改","children":[{"title":"CTabCtrl重绘","children":[{"title":".vs","children":[{"title":"MFCApplication2","children":[{"title":"v16","children":[{"title":"Browse.VC.db <span style='color:#111;'> 68.39MB </span>","children":null,"spread":false},{"title":".suo <span style='color:#111;'> 55.50KB </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"8ddc1856103210ef.ipch <span style='color:#111;'> 119.06MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"MFCApplication2","children":[{"title":"framework.h <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"pch.h <span style='color:#111;'> 544B </span>","children":null,"spread":false},{"title":"MFCApplication2.cpp <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"MFCApplication2.rc2 <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"MFCApplication2.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"MFCApplication2.aps <span style='color:#111;'> 106.38KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 295B </span>","children":null,"spread":false},{"title":"CTabCtrlEx.cpp <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"MFCApplication2.vcxproj.user <span style='color:#111;'> 241B </span>","children":null,"spread":false},{"title":"MFCApplication2.h <span style='color:#111;'> 532B </span>","children":null,"spread":false},{"title":"pch.cpp <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"MFCApplication2Dlg.cpp <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 694B </span>","children":null,"spread":false},{"title":"MFCApplication2.vcxproj <span style='color:#111;'> 10.30KB </span>","children":null,"spread":false},{"title":"MFCApplication2.vcxproj.filters <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"MFCApplication2Dlg.h <span style='color:#111;'> 909B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"MFCApplication2.tlog","children":[{"title":"CL.write.1.tlog <span style='color:#111;'> 4.80KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 98.33KB </span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'> 314B </span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"MFCApplication2.lastbuildstate <span style='color:#111;'> 244B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'> 462B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 6.27KB </span>","children":null,"spread":false}],"spread":false},{"title":"vc142.pdb <span style='color:#111;'> 8.87MB </span>","children":null,"spread":false},{"title":"pch.obj <span style='color:#111;'> 710.91KB </span>","children":null,"spread":false},{"title":"MFCApplication2.res <span style='color:#111;'> 68.13KB </span>","children":null,"spread":false},{"title":"MFCApplication2.pch <span style='color:#111;'> 55.94MB </span>","children":null,"spread":false},{"title":"CTabCtrlEx.obj <span style='color:#111;'> 27.59KB </span>","children":null,"spread":false},{"title":"MFCApplication2.ilk <span style='color:#111;'> 2.02MB </span>","children":null,"spread":false},{"title":"MFCApplication2Dlg.obj <span style='color:#111;'> 65.85KB </span>","children":null,"spread":false},{"title":"MFCApplication2.exe.recipe <span style='color:#111;'> 306B </span>","children":null,"spread":false},{"title":"vc142.idb <span style='color:#111;'> 1.32MB </span>","children":null,"spread":false},{"title":"MFCApplication2.log <span style='color:#111;'> 115B </span>","children":null,"spread":false},{"title":"MFCApplication2.obj <span style='color:#111;'> 79.57KB </span>","children":null,"spread":false}],"spread":false},{"title":"CTabCtrlEx.h <span style='color:#111;'> 306B </span>","children":null,"spread":false},{"title":"MFCApplication2.rc <span style='color:#111;'> 10.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"MFCApplication2.sln <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"MFCApplication2.pdb <span style='color:#111;'> 18.29MB </span>","children":null,"spread":false},{"title":"MFCApplication2.exe <span style='color:#111;'> 221.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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