MFC的CStatic子类化,解决背景透明,文本重叠,刷新闪烁

上传者: tom06 | 上传时间: 2019-12-21 21:16:18 | 文件大小: 2.43MB | 文件类型: zip
两个CStatic子类,良好的解决了背景透明,动态设置文本时,防止文本重叠,防止刷新闪烁,我在PC和工控机上测试效果很不错,网上很多人的分享并没有解决我的问题,这两个类是CodeProject上面的,只是我对其做了修改,修改部分DEMO中有注释,利用我的使用,所以就不要积分了,我觉还是很有参考价值的

文件下载

资源详情

[{"title":"( 38 个子文件 2.43MB ) MFC的CStatic子类化,解决背景透明,文本重叠,刷新闪烁","children":[{"title":"CStatic子类化_收集修改by唐太咸","children":[{"title":"Label","children":[{"title":"Label.h <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"Label.cpp <span style='color:#111;'> 30.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"TransparentStatic","children":[{"title":"TransparentStatic.cpp <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false},{"title":"TransparentStatic.h <span style='color:#111;'> 688B </span>","children":null,"spread":false}],"spread":true},{"title":"tcStatic_demo","children":[{"title":"tcStatic","children":[{"title":"tcStatic.vcproj.TC-TAIXIAN.Administrator.user <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 907B </span>","children":null,"spread":false},{"title":"DlgProxy.h <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"TcStaticDlg.cpp <span style='color:#111;'> 4.31KB </span>","children":null,"spread":false},{"title":"tcStatic.reg <span style='color:#111;'> 644B </span>","children":null,"spread":false},{"title":"tcStatic.h <span style='color:#111;'> 449B </span>","children":null,"spread":false},{"title":"tcStatic_i.c <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"tcStatic_h.h <span style='color:#111;'> 8.77KB </span>","children":null,"spread":false},{"title":"Label.h <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"tcStatic.idl <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 542B </span>","children":null,"spread":false},{"title":"tcStatic.rc <span style='color:#111;'> 4.99KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"tcStatic.ico <span style='color:#111;'> 21.12KB </span>","children":null,"spread":false},{"title":"tcStatic.rc2 <span style='color:#111;'> 364B </span>","children":null,"spread":false}],"spread":false},{"title":"occi.h <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"tcStatic.cpp <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"TcStaticDlg.h <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"DlgProxy.cpp <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"background.bmp <span style='color:#111;'> 1.15MB </span>","children":null,"spread":false},{"title":"TransparentStatic.cpp <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false},{"title":"tcStatic.vcproj <span style='color:#111;'> 6.07KB </span>","children":null,"spread":false},{"title":"tcStatic.aps <span style='color:#111;'> 1.20MB </span>","children":null,"spread":false},{"title":"TransparentStatic.h <span style='color:#111;'> 688B </span>","children":null,"spread":false},{"title":"TransparentControl.h <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"Label.cpp <span style='color:#111;'> 30.69KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"TransparentControl.cpp <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false}],"spread":false},{"title":"tcStatic.sln <span style='color:#111;'> 890B </span>","children":null,"spread":false},{"title":"tcStatic.suo <span style='color:#111;'> 63.50KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"tcStatic.pdb <span style='color:#111;'> 6.12MB </span>","children":null,"spread":false},{"title":"tcStatic.exe <span style='color:#111;'> 1.50MB </span>","children":null,"spread":false}],"spread":true},{"title":"tcStatic.ncb <span style='color:#111;'> 11.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • rzsheng :
    扣了C币,却不能下载,资源空了吗?能否给我发一份,谢谢!
    2021-04-15
  • yanyebin :
    挺好的,有不错的参考价值,不太会用
    2019-02-25
  • yyang0514 :
    能够正常显示JPG图片。如果要用两个控件还是会出现不能正常显示的情况。
    2018-11-14
  • xiao2macf :
    学习,研究一下
    2018-10-25
  • Howard_Liu1314 :
    CStatic子类,良好的解决了背景透明,动态设置文本时,防止文本重叠
    2018-09-23

免责申明

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