So I suspect that I'll never get SendKeys to work with Mach. I guess I've realized just by writing this that DROs and the MDI aren't Windows::Form elements but the main Mach window certainly is a Windows::Form. All keypresses process in any of Mach's toolbar drop down forms. If no controls have focus, just Mach, "Enter" would be the only keypress that should process (the MDI Window shortcut key) but it doesn't. If a DRO (I would also think it is a textbox) has got focus, NO keypresses are processed. If the MDI textbox (I assume it is a textbox) has got focus all the keypresses including arrow keys process except "ENTER" and "ESC". Same for other apps that I have tried.īut in Mach, the keypresses are not getting processed. For example if I have Mach open (the plugin is in Mach), then open another app like Notepad and give it focus, all the keypresses are correctly sent to Notepad. This Method is essentially a keyboard emulator and works for most other application. The plugin uses Windows::Forms::SendKeys::SendWait("KEY") like SendWait("1") would send the character 1 to whatever app has gotfocus on the desktop. My problem is getting the keypress into Mach from the plugin. I have a plugin for a hand held keyboard and joystick.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |