首页 开发技术 C++     /    支持x64版本的窗口内置滚动条皮肤库源码

支持x64版本的窗口内置滚动条皮肤库源码

上传者: hurryboylqs | 上传时间:2023/8/31 18:29:21 | 文件大小:169KB | 文件类型:RAR
支持x64版本的窗口内置滚动条皮肤库源码
大家知道,win32窗口的内置滚动自绘是个非常棘手的问题,在写这篇文章之前首先感谢下CSDN的mynamelj,他写的那个SkinSB开源的时候我就开始使用来美化一般win32窗口的滚动条,很好用,但是最近有想把自己的应用迁移到x64平台的想法,所以必须把全部源码编译成64位的版本,以便能在win64位下获得最佳性能,好了废话不多说,继续往下看。
改进SkinSB:当时遇到两大难题,第一个是API钩子库detours在X64下用不了,第二个是skinsb自有源码小部分不适应64位。
对于第一个难题,当时到微软网站看了下其实detours3.0版本有支持64位的,但是不是免费的,收费$9999一套,相当于7万RMB左右,这费用我等实在付不起,只好另找其他方法,经同事介绍mhook库,稍微看了下也是开源的,使用方法也很方便,就两个函数,一个Mhook_SetHook加载API钩子,一个Mhook_Unhook

文件下载

资源详情

[{"title":"(44个子文件169KB)支持x64版本的窗口内置滚动条皮肤库源码","children":[{"title":"SkinSB","children":[{"title":"mhook","children":[{"title":"mhook.h <span style='color:#111;'>1.34KB</span>","children":null,"spread":false},{"title":"mhook.vcproj <span style='color:#111;'>5.80KB</span>","children":null,"spread":false},{"title":"mhook.cpp <span style='color:#111;'>31.93KB</span>","children":null,"spread":false}],"spread":true},{"title":"disasm","children":[{"title":"cpu.h <span style='color:#111;'>6.64KB</span>","children":null,"spread":false},{"title":"disasm_x86.c <span style='color:#111;'>147.07KB</span>","children":null,"spread":false},{"title":"disasm_x86_tables.h <span style='color:#111;'>258.79KB</span>","children":null,"spread":false},{"title":"cpu.c <span style='color:#111;'>2.49KB</span>","children":null,"spread":false},{"title":"disasm_x86.h <span style='color:#111;'>20.73KB</span>","children":null,"spread":false},{"title":"disasm.h <span style='color:#111;'>15.81KB</span>","children":null,"spread":false},{"title":"disasm.c <span style='color:#111;'>4.00KB</span>","children":null,"spread":false},{"title":"misc.c <span style='color:#111;'>4.56KB</span>","children":null,"spread":false},{"title":"misc.h <span style='color:#111;'>1.33KB</span>","children":null,"spread":false},{"title":"disasm.vcproj <span style='color:#111;'>6.22KB</span>","children":null,"spread":false}],"spread":true},{"title":"skinsb","children":[{"title":"skinsb.h <span style='color:#111;'>3.50KB</span>","children":null,"spread":false},{"title":"skinsb.suo.old <span style='color:#111;'>9.00KB</span>","children":null,"spread":false},{"title":"skinsb_2005.vcproj <span style='color:#111;'>11.13KB</span>","children":null,"spread":false},{"title":"skinsb.def <span style='color:#111;'>275B</span>","children":null,"spread":false},{"title":"skinsb.cpp <span style='color:#111;'>48.55KB</span>","children":null,"spread":false},{"title":"skinsb.suo <span style='color:#111;'>23.50KB</span>","children":null,"spread":false},{"title":"internal.h <span style='color:#111;'>7.43KB</span>","children":null,"spread":false}],"spread":true},{"title":"skinsb.sln <span style='color:#111;'>3.58KB</span>","children":null,"spread":false},{"title":"SkinSBDemo","children":[{"title":"SkinSBDemo.cpp <span style='color:#111;'>5.69KB</span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'>999B</span>","children":null,"spread":false},{"title":"SkinSBDemo.aps <span style='color:#111;'>214.79KB</span>","children":null,"spread":false},{"title":"SkinSBDemo.vcproj <span style='color:#111;'>9.97KB</span>","children":null,"spread":false},{"title":"SkinSBDemo.suo <span style='color:#111;'>16.00KB</span>","children":null,"spread":false},{"title":"SkinSBDemoDlg.cpp <span style='color:#111;'>4.82KB</span>","children":null,"spread":false},{"title":"SkinSBDemo.rc <span style='color:#111;'>5.73KB</span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'>2.80KB</span>","children":null,"spread":false},{"title":"SkinSBDemoDlg.h <span style='color:#111;'>875B</span>","children":null,"spread":false},{"title":"res","children":[{"title":"SCROLL.psd <span style='color:#111;'>69.45KB</span>","children":null,"spread":false},{"title":"scrollex.bmp <span style='color:#111;'>36.24KB</span>","children":null,"spread":false},{"title":"scroll.bmp <span style='color:#111;'>36.05KB</span>","children":null,"spread":false},{"title":"scrollxx.bmp <span style='color:#111;'>38.35KB</span>","children":null,"spread":false},{"title":"SkinSBDemo.rc2 <span style='color:#111;'>401B</span>","children":null,"spread":false},{"title":"scrollx.bmp <span style='color:#111;'>45.83KB</span>","children":null,"spread":false},{"title":"SkinSBDemo.ico <span style='color:#111;'>21.12KB</span>","children":null,"spread":false}],"spread":false},{"title":"stdafx.cpp <span style='color:#111;'>210B</span>","children":null,"spread":false},{"title":"SkinSBDemo.h <span style='color:#111;'>558B</span>","children":null,"spread":false}],"spread":false},{"title":"skinsb_VC2003.suo <span style='color:#111;'>10.00KB</span>","children":null,"spread":false},{"title":"说明.txt <span style='color:#111;'>514B</span>","children":null,"spread":false},{"title":"skinsb_VC2005.suo <span style='color:#111;'>28.00KB</span>","children":null,"spread":false},{"title":"skinsb_VC2005.suo.old <span style='color:#111;'>20.00KB</span>","children":null,"spread":false},{"title":"skinsb.suo <span style='color:#111;'>14.00KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • pilicaihong:
    很好用,不错2021-07-13
  • 紫枫wrongs:
    很不错的资源2018-09-01
  • wPgg1es:
    可以用,谢谢2018-08-16
  • 凌乱哥:
    改进很及时,64位是今后主要的平台。2018-03-29
  • qiaochuanbiao:
    很好的资源。2017-04-10

免责申明

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