Home > Software engineering >  Interceptor specified VB6 program or process
Interceptor specified VB6 program or process

Time:10-11

Such as topic, my understanding is that no matter what we do, such as press the keyboard, move the mouse, open the program, including procedures performed for running a variety of code, all of these are to send a message to the window, I don't know whether this understanding is correct?

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 use

CodePudding user response:

http://www.autohotkey.com

CodePudding 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
  •  Tags:  
  • API
  • Related