on-screen-keyboard

How to use Windows On-Screen Keyboard in C# WinForms

扶醉桌前 提交于 2019-11-26 18:16:39
问题 VS 2010 Developing 32-bit app that runs on 64-bit OS (Windows 7, Windows 8 - desktop app) C# .NET 4.0 WinForms I have found many threads on launching the Windows on-screen keyboard ( osk.exe ) from an application, but I am running into some problems. It appears to be because I am running a 32-bit app on a 64-bit OS. I've tried the code posted by WooCaSh here: Keyboard on the screen in WinForms But none of the three different paths work for me. For the sysnative path, Process.Start fails with

Show & hiding the Windows 8 on screen keyboard from WPF

别说谁变了你拦得住时间么 提交于 2019-11-26 16:35:44
问题 I'm writing a WPF application for a Windows 8 tablet. It's full windows 8 and not ARM/RT. When the user enters a textbox I show the on screen keyboard using the following code: System.Diagnostics.Process.Start(@"C:\Program Files\Common Files\Microsoft Shared\ink\TabTip.exe"); This works fine however I don't know how to hide the keyboard again? Anybody know how to do this? Also, is there any way I can resize my application so that focused control is moved up when the keyboard appears? A bit