问题
In a Winforms app running on Windows 10 (Anniversary or greater), is there a way to detect that the Windows onscreen keyboard has opened?
回答1:
You can periodically enumerate all windows and search for DirectUIHWND class.
For the more info about windows enumeration, take a look to http://improve.dk/finding-specific-windows/
来源:https://stackoverflow.com/questions/42494453/detect-the-onscreen-keyboard-in-windows-10-from-winforms