Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: FuZe on September 02, 2003, 09:39 PM

Title: Capturing Keystrokes in other applications
Post by: FuZe on September 02, 2003, 09:39 PM
I'm using visual basic 6.0, and I want to know how to capture keystrokes in other applications.  I know there's an API function, SetWindowsHookEx, that can capture keystrokes (and other events) in my own application, but I can't get it to work with other applications.  Can someone help me out? Thx.
Title: Re:Capturing Keystrokes in other applications
Post by: FuZe on September 02, 2003, 11:01 PM
Found the answer to my question:
An API called Register Hot Key
Title: Re:Capturing Keystrokes in other applications
Post by: Adron on September 03, 2003, 02:24 PM
Will a hot key still be delivered to the application the key was pressed in? Is it a direct replacement to hooks?