It seems like this must have been asked somewhere before - but I can't seem to find an answer...
In C# (Visual Studio 2005) is there a way that I can simulate a keyboard from within a worker thread?
I'd like to start a worker thread that continually polls: SmartIO.ReadKeypad(); and then sends out keyboard messages as if the keypad is a real keyboard.
My hope is that with such a thread running, I can simply open modal dialogs and the keyboard messages will be "magically" sent to the modal dialogs (without having to carry around SmartIO functions) between my main form and the modal child dialogs. Furthermore, this will make my "hardware version" and my "emulator version" much more compatible.
It seems like there was something like this in the old ADS C++ libraries, but I haven't seen it for C# / .NET.