title: C++ GetAsyncKeyState problem
body: <p>I am trying to do simple programm which would help me while I play.
  My code works fine when game is not active but when I activate my game and go fullscreen my if statements won't work.</p>
  
  <p>Here is example:</p>
  
  <pre><code>if(GetAsyncKeyState(VK_LEFT))
  {
      SetCursorPos(620, 321);
  }
  </code></pre>
  
  <p>The code is in while(true) loop. </p>
  
  <p>How do I use these keys while I'm playing?</p>