I've been trying to, from one program, fake a certain key press on the keyboard (let's say the F1 key, for example), using the user32 functions
SendMessage, PostMessage, keybd_input and
SendInput. This seems to work with Windows based input checking of another program (note: it is
not the same app that is sending the messages) such as with the
entry$ function, but it doesn't work with the
keystate function (which I supoose wraps
GetASyncKeyState).
Any idea on how to achieve this?
I've been googling around for several hours, but to no avail... certainly it must be possible?
Thanks,
Rolf
O ja