title: How to disable a key in another program?
body: <p>I'm writing a program with visual C++ that should change some keyboard keys in a game.</p>
  
  <p>I used
  <code>kHook = SetWindowsHookEx(WH_KEYBOARD_LL,setkey,NULL,0);</code> 
  to know the keys are pressed in computer and
  <code>FindWindow()</code>
  to find the game that I should process my code to get the keys are pressed in that game. </p>
  
  <p>But I need to disable some keys for example when space is clicked I need to prevent the game to know space is clicked. Actually disable space in that game what should I do. I searched a lot but I got nothing.</p>