I am a beginner in C# and am currently writing a small program. This program would launch a game and wait in the back ground till the game is closed. While the game is running, the application has to perform certain functions whenever a specific key(F11) is pressed.
I am not able to figure out a way in which i could capture the keystroke when the game is running. I also want to find out how I can get the game resolution whenever F11 is hit. Could someone help me.
Thanks in advance.

Sam HobbsRank #108 · 20.5K reputationPosted Jan 31, 2011, 6:50 PM EST
Suthish NairRank #92 · 22.8K reputationPosted Jan 31, 2011, 9:05 PM EST
He is asking for how to change the resolution when he hit F11 button.
Sam HobbsRank #108 · 20.5K reputationPosted Jan 31, 2011, 11:11 PM EST
Venkatesh V7 reputationPosted Jan 31, 2011, 11:54 PM EST
Sam HobbsRank #108 · 20.5K reputationPosted Feb 1, 2011, 7:48 AM EST
Venkatesh V7 reputationPosted Feb 1, 2011, 8:52 PM EST
Sam HobbsRank #108 · 20.5K reputationPosted Feb 1, 2011, 9:14 PM EST
Venkatesh V7 reputationPosted Feb 1, 2011, 9:53 PM EST