title: Sending Keyboard Macro Commands to Game Windows
body: <p>I wanna do a macro program for a game. But there is a problem with sending keys to only game application (game window). I am using <code>keybd_event</code> API for sending keys to game window. But I only want to send keys to the game window, not to explorer or any opened window while my macro program is running. When I changed windows its still sending keys. I tried to use <code>Interaction.App</code> with <code>Visual Basic.dll</code> reference. But <code>Interaction.App</code> only Focus the game window.</p>
  
  <p>I couldn't find anything about my problem. Can anyone help me? Thanx</p>