Grabbing all keyboard input even when my program not focused

Status
Not open for further replies.

aewarnick

Senior Contributor
Joined
Jan 29, 2003
Messages
1,031
How do you do that? It is easy if the Form or program has input focus but what about when the program is not directly focused?
 
You'll need to use Windows hooks. They're not easy as you must use the API. I'd search google for SetWindowsHookEx (I think).

-Nerseus
 
We don't encourage this sort of thing here on the forum as it can be used for unsavoury purposes such as keyloggers.

Anyone who wishes to help aewarnick with this can do so in private message.
 
Status
Not open for further replies.
Back
Top