Message board for the users of flat assembler.
> Windows > Stupid question: Mouse-Click and Keyboard-Event
Goto page Previous 1, 2
Depending on the program, keybd_event won't work in all cases.
It is common for game programs to use functions like GetAsyncKeyState and GetKeyboardState. These two functions completely bypass anything you might try to do with SendMessage and keybd_event.
Also you are calling keybd_event without properly setting all the parameters. Set the scan code to the correct value and follow it up with another call to send the release key.
|06 Jun 2008, 03:41||
|Goto page Previous 1, 2
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar.
Powered by rwasa.