Introduction - If you have any usage issues, please Google them yourself
Implement the title of the current mouse window and display it in an EDITBOX.
The Windows system is built on event-driven mechanisms, which means the whole system is connected
The delivery of the message is implemented. And the hook is a very important system interface in Windows,
Using it to intercept and process messages to other applications, it is difficult to accomplish common applications
Implementation functions. There are many types of hooks, each of which can intercept and handle the corresponding messages, such as
Keyboard hooks can intercept keyboard messages, and shell hooks can intercept, start, and close applications
Interest rates, etc. This paper implements a simple mouse hook procedure in the VC6 programming environment and Win32
The operation mechanism of global hook, the characteristics of Win32 DLL, MFC DLL in VC6 environment and the number of shares
According to the related knowledge, a brief explanation is given.
Packet : 85375565mousehook.rar filelist
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