OldSchoolHack

Register / Login English

FindWindow() Funktion

icon Thread: [Question] FindWindow() Funktion

Join Date: Jan 2015

Posts: 9

CPP Code:
  1.  
  2.                        INPUT ip;
  3.  
  4.  
  5. ip.type = INPUT_KEYBOARD;
  6. ip.ki.time = 0;
  7. ip.ki.wVk = 0;
  8. ip.ki.dwExtraInfo = 0;
  9.  
  10.  
  11. ip.ki.dwFlags = KEYEVENTF_SCANCODE;
  12. ip.ki.wScan = 0x21;
  13.  
  14.  
  15. SendInput(1, &ip, sizeof(INPUT));
  16.  
  17.  
  18. ip.ki.dwFlags = KEYEVENTF_SCANCODE | KEYEVENTF_KEYUP;
  19. SendInput(1, &ip, sizeof(INPUT));
  20.  

Im Internetbrowser Funktionierts, im Game nicht..