I would like to write a C#.Net program that runs on a second monitor(touchscreen) which interacts and sends keystrokes to a game that runs on the primary monitor. What would i need to do is make it run in the background even when clicked on. If the program gets focus at all the game will minimize (because it's full screen).
I need it to be the opposite of a "always on top" never taking focus except maybe when the program is launched. But when i click on things it needs to stay in the background but register the clicks and send keys based on it.
I assume I need to use some windows api call of some sort maybe? I don't know C++ at all, otherwise id write it in that.
Start Free Trial