|
-
Sep 9th, 2000, 07:51 PM
#1
Thread Starter
Addicted Member
I want to set some kind of a hook to another app's window to capture all WM messages, so I tried SetWindowLong but it didn't work.
I called it with the window's handle but it always returned zero...
Razzle
ICQ#: 31429438
What is the difference between a raven?
-The legs. The length is equal, especially the right one. 
-
Sep 10th, 2000, 05:10 AM
#2
Fanatic Member
You can't do this in VB alone. You need to put a SetWindowsHookEx in a C++ DLL. A VB DLL won't do, because it is ... <ahem> ... just different.
You can hook all mouse and keyboard movements/presses in VB, but not capture all WM messages.
To find more about SetWindowsHookEx, I have kindly provided a link here
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|