文件名称:HookMouse
- 所属分类:
- 钩子与API截获
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 46kb
- 下载次数:
- 0次
- 提 供 者:
- 冰*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
一个简单的鼠标钩子程序
Windows系统是建立在事件驱动的机制上的,说穿了就是整个系统都是通过消息的传递来实现的。而钩子是Windows系统中非常重要的系统接口,用它可以截获并处理送给其他应用程序的消息,来完成普通应用程序难以实现的功能。钩子的种类很多,每种钩子可以截获并处理相应的消息,如键盘钩子可以截获键盘消息,外壳钩子可以截取、启动和关闭应用程序的消息等。本文在VC6编程环境下实现了一个简单的鼠标钩子程序,并对Win32全局钩子的运行机制、Win32 DLL的特点、VC6环境下的MFC DLL以及共享数据等相关知识进行了简单的阐述。-A simple mouse hook procedure
Windows system is based on event-driven mechanism, and put it bluntly, is that the whole system through message passing to achieve. The hook is a very important Windows system, the system interface, you can use to intercept and handle messages sent to other applications to complete the application difficult to achieve normal function. Many different types of hooks, each hook can intercept and process the corresponding message, such as a keyboard hook to intercept keyboard messages, shell hooks can be intercepted, start and close applications news. In this paper, VC6 programming environment to achieve a simple mouse hook procedure, and the global hook Win32 operating mechanism, Win32 DLL characteristics, VC6 environment MFC DLL, as well as sharing of data and other related knowledge of the brief explanation.
Windows系统是建立在事件驱动的机制上的,说穿了就是整个系统都是通过消息的传递来实现的。而钩子是Windows系统中非常重要的系统接口,用它可以截获并处理送给其他应用程序的消息,来完成普通应用程序难以实现的功能。钩子的种类很多,每种钩子可以截获并处理相应的消息,如键盘钩子可以截获键盘消息,外壳钩子可以截取、启动和关闭应用程序的消息等。本文在VC6编程环境下实现了一个简单的鼠标钩子程序,并对Win32全局钩子的运行机制、Win32 DLL的特点、VC6环境下的MFC DLL以及共享数据等相关知识进行了简单的阐述。-A simple mouse hook procedure
Windows system is based on event-driven mechanism, and put it bluntly, is that the whole system through message passing to achieve. The hook is a very important Windows system, the system interface, you can use to intercept and handle messages sent to other applications to complete the application difficult to achieve normal function. Many different types of hooks, each hook can intercept and process the corresponding message, such as a keyboard hook to intercept keyboard messages, shell hooks can be intercepted, start and close applications news. In this paper, VC6 programming environment to achieve a simple mouse hook procedure, and the global hook Win32 operating mechanism, Win32 DLL characteristics, VC6 environment MFC DLL, as well as sharing of data and other related knowledge of the brief explanation.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Mousehook
.........\Mousehook.dsp
.........\Mousehook.cpp
.........\Mousehook.lib
.........\Mousehook.clw
.........\ReadMe.txt
.........\StdAfx.h
.........\StdAfx.cpp
.........\res
.........\...\Mousehook.rc2
.........\Resource.h
.........\Mousehook.rc
.........\Mousehook.dsw
.........\Mousehook.h
.........\Mousehook.def
Mouse
.....\Mouse.rc
.....\MouseDlg.cpp
.....\Mouse.clw
.....\ReadMe.txt
.....\Mouse.cpp
.....\Resource.h
.....\StdAfx.cpp
.....\Mousehook.lib
.....\Mousehook.h
.....\Mouse.h
.....\StdAfx.h
.....\MouseDlg.h
.....\res
.....\...\Mouse.rc2
.....\...\Mouse.ico
.....\Mouse.dsp
.....\Mouse.dsw
Mouse.exe
Mousehook.dll
说明.txt
一个简单的鼠标钩子程序.doc
.........\Mousehook.dsp
.........\Mousehook.cpp
.........\Mousehook.lib
.........\Mousehook.clw
.........\ReadMe.txt
.........\StdAfx.h
.........\StdAfx.cpp
.........\res
.........\...\Mousehook.rc2
.........\Resource.h
.........\Mousehook.rc
.........\Mousehook.dsw
.........\Mousehook.h
.........\Mousehook.def
Mouse
.....\Mouse.rc
.....\MouseDlg.cpp
.....\Mouse.clw
.....\ReadMe.txt
.....\Mouse.cpp
.....\Resource.h
.....\StdAfx.cpp
.....\Mousehook.lib
.....\Mousehook.h
.....\Mouse.h
.....\StdAfx.h
.....\MouseDlg.h
.....\res
.....\...\Mouse.rc2
.....\...\Mouse.ico
.....\Mouse.dsp
.....\Mouse.dsw
Mouse.exe
Mousehook.dll
说明.txt
一个简单的鼠标钩子程序.doc