鼠标和键盘的全局钩子,及简单示例

上传者: ssynkqtd | 上传时间: 2019-12-21 21:09:57 | 文件大小: 208KB | 文件类型: rar
(上传前,亲测,保证可用,生成后点一下DLG空白区域便安装了键盘和鼠标钩子,按个小键盘0,便知道是否有响应) 简单的全局钩子使用示例 包含两部分: 1.一个DLL用来写全局钩子(鼠标钩子用来把鼠标限定在某个区域中和键盘钩子用来钩小键盘的数据“0”和ALT+F用来决定是否把鼠标限定在区域中), 2.一个TESTDLL单文档结构的简单MFC程序,只加了一个左键消息,该消息响应用来安装全局钩子。基于

文件下载

资源详情

[{"title":"( 83 个子文件 208KB ) 鼠标和键盘的全局钩子,及简单示例","children":[{"title":"HookMessage","children":[{"title":"WndDllTest","children":[{"title":"PropertiesWnd.cpp <span style='color:#111;'> 8.55KB </span>","children":null,"spread":false},{"title":"WndDllTestDoc.cpp <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"WndDllTest.vcxproj <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"WndDllTest.cpp <span style='color:#111;'> 4.89KB </span>","children":null,"spread":false},{"title":"ClassView.cpp <span style='color:#111;'> 8.82KB </span>","children":null,"spread":false},{"title":"ViewTree.cpp <span style='color:#111;'> 876B </span>","children":null,"spread":false},{"title":"FileView.h <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"FileView.cpp <span style='color:#111;'> 6.52KB </span>","children":null,"spread":false},{"title":"UserImages.bmp <span style='color:#111;'> 7.79KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 4.71KB </span>","children":null,"spread":false},{"title":"ViewTree.h <span style='color:#111;'> 372B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"file_view_hc.ico <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"WndDllTest.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false},{"title":"properties_hc.bmp <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"WndDllTestDoc.ico <span style='color:#111;'> 4.60KB </span>","children":null,"spread":false},{"title":"Toolbar.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"file_view.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"fileview.bmp <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"output_wnd_hc.ico <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"Toolbar256.bmp <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"sort_hc.bmp <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"output_wnd.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"properties_wnd.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"class_view_hc.ico <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"explorer_hc.bmp <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"classview_hc.bmp <span style='color:#111;'> 4.98KB </span>","children":null,"spread":false},{"title":"menuimages_hc.bmp <span style='color:#111;'> 21.80KB </span>","children":null,"spread":false},{"title":"sort.bmp <span style='color:#111;'> 374B </span>","children":null,"spread":false},{"title":"properties_wnd_hc.ico <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"class_view.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"WndDllTest.rc2 <span style='color:#111;'> 676B </span>","children":null,"spread":false},{"title":"classview.bmp <span style='color:#111;'> 958B </span>","children":null,"spread":false},{"title":"fileview_hc.bmp <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"menuimages.bmp <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false},{"title":"properties.bmp <span style='color:#111;'> 630B </span>","children":null,"spread":false},{"title":"explorer.bmp <span style='color:#111;'> 246B </span>","children":null,"spread":false}],"spread":false},{"title":"MainFrm.h <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"WndDllTestDoc.h <span style='color:#111;'> 871B </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"WndDllTestView.h <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"WndDllTest.vcxproj.filters <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false},{"title":"PropertiesWnd.h <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"WndDllTest.h <span style='color:#111;'> 678B </span>","children":null,"spread":false},{"title":"ClassView.h <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"OutputWnd.h <span style='color:#111;'> 1017B </span>","children":null,"spread":false},{"title":"MainFrm.cpp <span style='color:#111;'> 12.33KB </span>","children":null,"spread":false},{"title":"WndDllTest.rc <span style='color:#111;'> 16.55KB </span>","children":null,"spread":false},{"title":"WndDllTestView.cpp <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"OutputWnd.cpp <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 234B </span>","children":null,"spread":false}],"spread":false},{"title":"DllTest","children":[{"title":"DllTest.vcxproj.user <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"DllTest.vcxproj.filters <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"DllTestView.h <span style='color:#111;'> 1011B </span>","children":null,"spread":false},{"title":"UserImages.bmp <span style='color:#111;'> 7.79KB </span>","children":null,"spread":false},{"title":"DllTest.h <span style='color:#111;'> 627B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 856B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"DllTest.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false},{"title":"DllTestDoc.ico <span style='color:#111;'> 4.60KB </span>","children":null,"spread":false},{"title":"Toolbar.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Toolbar256.bmp <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"DllTest.rc2 <span style='color:#111;'> 670B </span>","children":null,"spread":false}],"spread":true},{"title":"DllTest.cpp <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"MainFrm.h <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"DllTestDoc.cpp <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"DllTest.vcxproj <span style='color:#111;'> 6.59KB </span>","children":null,"spread":false},{"title":"DllTest.rc <span style='color:#111;'> 12.24KB </span>","children":null,"spread":false},{"title":"DllTestView.cpp <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"MainFrm.cpp <span style='color:#111;'> 8.49KB </span>","children":null,"spread":false},{"title":"DllTestDoc.h <span style='color:#111;'> 853B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 234B </span>","children":null,"spread":false}],"spread":false},{"title":"HookMessage.sln <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"HookMessage","children":[{"title":"HookMessage.vcxproj <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"HookMessage.cpp <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"HookMessage.vcxproj.user <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"HookMessage.vcxproj.filters <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"HookMessage.h <span style='color:#111;'> 387B </span>","children":null,"spread":false}],"spread":true},{"title":"HookMessage.opensdf <span style='color:#111;'> 56B </span>","children":null,"spread":false},{"title":"HookMessage.v11.suo <span style='color:#111;'> 38.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • beyond_10000 :
    找了好久才找到,测试了一下可用
    2018-11-05
  • beyond_10000 :
    找了好久才找到,测试了一下可用
    2018-11-05
  • chuxichun :
    可以学习下,有用的
    2017-12-18
  • chuxichun :
    可以学习下,有用的
    2017-12-18
  • huntersjf :
    刚好需要这方面的资料,看看是不是我想要的,感谢分享
    2017-04-21
  • huntersjf :
    刚好需要这方面的资料,看看是不是我想要的,感谢分享
    2017-04-21
  • superman7788 :
    可以学习,参考一下
    2016-05-06
  • superman7788 :
    可以学习,参考一下
    2016-05-06

免责申明

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