文件名称:HookMouse
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:45.79kb
-
已下载: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/Mousehook.dsp
Mousehook/Mousehook.cpp
Mousehook/Mousehook.lib
Mousehook/Mousehook.clw
Mousehook/ReadMe.txt
Mousehook/StdAfx.h
Mousehook/StdAfx.cpp
Mousehook/res
Mousehook/res/Mousehook.rc2
Mousehook/Resource.h
Mousehook/Mousehook.rc
Mousehook/Mousehook.dsw
Mousehook/Mousehook.h
Mousehook/Mousehook.def
Mouse
Mouse/Mouse.rc
Mouse/MouseDlg.cpp
Mouse/Mouse.clw
Mouse/ReadMe.txt
Mouse/Mouse.cpp
Mouse/Resource.h
Mouse/StdAfx.cpp
Mouse/Mousehook.lib
Mouse/Mousehook.h
Mouse/Mouse.h
Mouse/StdAfx.h
Mouse/MouseDlg.h
Mouse/res
Mouse/res/Mouse.rc2
Mouse/res/Mouse.ico
Mouse/Mouse.dsp
Mouse/Mouse.dsw
Mouse.exe
Mousehook.dll
说明.txt
一个简单的鼠标钩子程序.doc
Mousehook/Mousehook.dsp
Mousehook/Mousehook.cpp
Mousehook/Mousehook.lib
Mousehook/Mousehook.clw
Mousehook/ReadMe.txt
Mousehook/StdAfx.h
Mousehook/StdAfx.cpp
Mousehook/res
Mousehook/res/Mousehook.rc2
Mousehook/Resource.h
Mousehook/Mousehook.rc
Mousehook/Mousehook.dsw
Mousehook/Mousehook.h
Mousehook/Mousehook.def
Mouse
Mouse/Mouse.rc
Mouse/MouseDlg.cpp
Mouse/Mouse.clw
Mouse/ReadMe.txt
Mouse/Mouse.cpp
Mouse/Resource.h
Mouse/StdAfx.cpp
Mouse/Mousehook.lib
Mouse/Mousehook.h
Mouse/Mouse.h
Mouse/StdAfx.h
Mouse/MouseDlg.h
Mouse/res
Mouse/res/Mouse.rc2
Mouse/res/Mouse.ico
Mouse/Mouse.dsp
Mouse/Mouse.dsw
Mouse.exe
Mousehook.dll
说明.txt
一个简单的鼠标钩子程序.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.