I want to know if a specified program or process, no matter what he does, these messages to intercept it, VB6 can achieve?
CodePudding user response:
Windows program is constantly send messages, to intercept other processes, can only use the hooks, subclassing it's no useCodePudding user response:
http://www.autohotkey.comCodePudding user response:
In fact spy++ is realizing the function of this procedure and is open source code,CodePudding user response:
That's right,Press the keyboard, move the mouse about window, such as information, can use the SetWindowsHookEx to intercept,
Other call API function can use a Detour to intercept API.
CodePudding user response:
If only intercept the message, use across processes subclassing.CodePudding user response:
Such as my window setparent window to the external program, but once the external (new parent form) closed, I'll collapse of vb how to intercept the external event window is closed, the unloading my own child form in time