May 4, 2009 at 4:05am
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...
May 4, 2009 at 4:24am
GetAsyncKeyState(). I don't know any portable method, sorry.
May 4, 2009 at 6:44am
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
May 4, 2009 at 11:31am
It detects keystrokes regardless of focus. It can be used to set up global shortcuts.