Incorporating the Windows 7 onscreen keyboard into a WPF app
Posted
by mmr
on Stack Overflow
See other posts from Stack Overflow
or by mmr
Published on 2009-07-22T20:58:13Z
Indexed on
2010/05/08
19:38 UTC
Read the original article
Hit count: 682
Windows 7 has a really nice onscreen keyboard program/control for touchscreens. I have a touchscreen app that was originally written for, and will be deployed on, XP. Is it possible to incorporate this keyboard directly into my app, rather than me using a custom control? I can find no programmatic information about it, so any links would be very helpful. Specifically, I'd need:
- To be able to use the keyboard on an XP machine that will have .NET 3.5 sp1 installed on it.
- To be able to hide the native keyboard on Windows 7, because I've already incorporated the touchscreen keyboard in my UI and so I don't need another one cluttering up the UI.
This native keyboard has two attractive aspects to it. First off, it's automatically localized to the customer's language (though the rest of the app will need modification), and second off, it doesn't seem to suffer from 'touch lag' as the OS tries to figure out whether or not I'm doing a gesture, because I'm clearly typing on a keyboard.
The app is WPF based, which should mean easy integration with Windows 7 based controls.
EDIT: I'd really like the XP thing, but it's not a requirement. The ability to use the keyboard in Win7, though, seems like it should be possible and even the right way to do it.
© Stack Overflow or respective owner