Pressing key and combinations of key in another window.
Posted on 2007-11-26
I'm trying to create a program that will press keys in another program. This program it's a game.
I search how can do this, and I find some examples with "keybd_event" and "SendInput" functions, this work if I whant to simulate keys press F1...F12, but don't work with combination like CTRL + F1..F12 or ALT + F1..F12.
Also some documentation on the internet tell me this operation can't do it or can do with DirectInput from Microsoft.
If someone can make me a little example I give for this code all my points (750, if I have more I give more).