|
-
Dec 15th, 2007, 07:53 AM
#1
Thread Starter
New Member
[2005] Detecting Keystrokes
Hi guys, I can detect key strokes using the keydown function, but this only works when the form has focus, I am after a way to detect all keystrokes despite what program has the focus, can any one help?
-
Dec 15th, 2007, 12:40 PM
#2
New Member
Re: [2005] Detecting Keystrokes
There was a thread about this somewhere, global hot keys. You can search for it. Though, I doubt you'll understand it, I didn't xD
Found it http://www.vbforums.com/showthread.p...42#post2729342
-
Dec 15th, 2007, 09:51 PM
#3
Re: [2005] Detecting Keystrokes
You wouldn't use hot keys unless you were listening for a specific key or key combination. If you want to detect all key strokes then you will need to set a keyboard hooking. There are also examples of that posted on the forum. If you search the VB.NET forum and the VB.NET CodeBank forum you should find them.
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
|