Is it possible to send a WM_CHAR message to an application that is using Direct Input?? If not, how can I simulate a key down event in another way??
/Delight
/Delight
keybd_event() ?
I have never done any programming using DirectX so I don't really understand your answer Radiosys. What I'm looking for is a substitute for
The above code sends a character to notepad, but it wouldn't work if notepad would have used Direct Input.
So, is it possible to do something like SendMessage with a DirectX app?
/Delight
invoke SendMessage,hNotepad, WM_CHAR, aChar, 0
The above code sends a character to notepad, but it wouldn't work if notepad would have used Direct Input.
So, is it possible to do something like SendMessage with a DirectX app?
/Delight
ohh..sorry, I didn't know keybd_event was a windows API. I'll take a look at it. Thanks!
/Delight
/Delight
Sorry, I was in a hurry and should had detailled a bit more. :tongue: