A program that receives input without being on top of the screen...

closed account (L3ApX9L8)
I've been wondering...
How would you go about making a program that receives keystrokes without
being on the screen?

I know, i know it sounds fishy, but the truth is, it would be interesting to know, and I suppose useful too...

GetAsyncKeyState(). I don't know any portable method, sorry.
closed account (L3ApX9L8)
One question, though...
Does GetAsyncKeyState() works even if the program is minimized?

Oh, and thanks for the suggestion!
I would test it myself, but im quite taken in another part of the code right now xD
It detects keystrokes regardless of focus. It can be used to set up global shortcuts.
Topic archived. No new replies allowed.