Hi i am trying to send both mouse and keyboard inputs to a minimized directx program so i can continue working on my comp whilst sending inputs to the program.
I have looked around and i think i need to get the process id of the program i want to send the input too and then use P/Invoke and SendInput (http://www.pinvoke.net/default.aspx/user32.SendInput) to send the input.
However, for this it says it sends input to the currently active window and i want it to go to a hidden window. Can you please tell me how i would go about doing this and point me to any sites that may help?!
Thanks in advance!
View Tag Cloud