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

时间:2017-08-31 13:59:23
【文件属性】:
文件名称:鼠标和键盘的全局钩子,及简单示例
文件大小:208KB
文件格式:RAR
更新时间:2017-08-31 13:59:23
鼠标钩子 键盘钩子 全局钩子 全局钩子例子 (上传前,亲测,保证可用,生成后点一下DLG空白区域便安装了键盘和鼠标钩子,按个小键盘0,便知道是否有响应) 简单的全局钩子使用示例 包含两部分: 1.一个DLL用来写全局钩子(鼠标钩子用来把鼠标限定在某个区域中和键盘钩子用来钩小键盘的数据“0”和ALT+F用来决定是否把鼠标限定在区域中), 2.一个TESTDLL单文档结构的简单MFC程序,只加了一个左键消息,该消息响应用来安装全局钩子。基于
【文件预览】:
HookMessage
----WndDllTest()
--------PropertiesWnd.cpp(9KB)
--------WndDllTestDoc.cpp(3KB)
--------WndDllTest.vcxproj(8KB)
--------WndDllTest.cpp(5KB)
--------ClassView.cpp(9KB)
--------ViewTree.cpp(876B)
--------FileView.h(1KB)
--------FileView.cpp(7KB)
--------UserImages.bmp(8KB)
--------stdafx.h(2KB)
--------ReadMe.txt(5KB)
--------ViewTree.h(372B)
--------res()
--------MainFrm.h(1KB)
--------WndDllTestDoc.h(871B)
--------stdafx.cpp(143B)
--------WndDllTestView.h(1KB)
--------WndDllTest.vcxproj.filters(5KB)
--------Resource.h(3KB)
--------PropertiesWnd.h(1KB)
--------WndDllTest.h(678B)
--------ClassView.h(1KB)
--------OutputWnd.h(1017B)
--------MainFrm.cpp(12KB)
--------WndDllTest.rc(17KB)
--------WndDllTestView.cpp(2KB)
--------OutputWnd.cpp(5KB)
--------targetver.h(234B)
----DllTest()
--------DllTest.vcxproj.user(164B)
--------DllTest.vcxproj.filters(3KB)
--------DllTestView.h(1011B)
--------UserImages.bmp(8KB)
--------DllTest.h(627B)
--------stdafx.h(856B)
--------ReadMe.txt(4KB)
--------res()
--------DllTest.cpp(4KB)
--------MainFrm.h(1KB)
--------stdafx.cpp(140B)
--------Resource.h(1KB)
--------DllTestDoc.cpp(2KB)
--------DllTest.vcxproj(7KB)
--------DllTest.rc(12KB)
--------DllTestView.cpp(2KB)
--------MainFrm.cpp(8KB)
--------DllTestDoc.h(853B)
--------targetver.h(234B)
----HookMessage.sln(1KB)
----HookMessage()
--------HookMessage.vcxproj(4KB)
--------HookMessage.cpp(3KB)
--------HookMessage.vcxproj.user(164B)
--------HookMessage.vcxproj.filters(1KB)
--------HookMessage.h(387B)
----HookMessage.opensdf(56B)
----HookMessage.v11.suo(38KB)

网友评论

  • 找了好久才找到,测试了一下可用
  • 可以学习下,有用的
  • 刚好需要这方面的资料,看看是不是我想要的,感谢分享
  • 可以学习,参考一下