Questions tagged [on-screen-keyboard]

For programming questions about creating or using an on-screen keyboard (a virtual keyboard displayed on the screen), including osk.exe included with Windows.

256 questions
1
vote
0 answers

Prevent WPF form from jumping up when onscreen-keyboard opens

Please how can we prevent a full screen WPF form from scrolling up when the onscreen keyboard appears? See the white space below the blue background that appears once the onscreen keyboard opens (slides out)
Charles Okwuagwu
  • 10,538
  • 16
  • 87
  • 157
1
vote
3 answers

Call On-Screen Keyboard(OSK) using vb.net

I am using this code below to call On-Screen Keyboard(OSK) Process.Start("C:\Windows\System32\OSK.EXE") but as you can see below I got an error. But if I manually open it, it's working fine. And it is possible to call the OSK but only numeric…
KiRa
  • 924
  • 3
  • 17
  • 42
1
vote
1 answer

Move On-Screen Keyboard (osk.exe) with C# & Win API

I've made this little .ps1 script as it allows me to run C# without using a compiler (directly at least). I'd like to move the "Accessibility On-Screen Keyboard" that opens with cmd /c osk.exe as I can't really use TabTip - the panned touchscreen…
Peter Badida
  • 11,310
  • 10
  • 44
  • 90
1
vote
1 answer

How can I close or minimize the Windows 10 on screen Keyboard using JAVA?

I have tried executing a taskkill to shut down the On screen Keyboard in windows 10 (OSK.exe), but the OSK seems to behave differently in windows 10... while I can launch the application, I cant shut it down as before with taskkill. Even in the…
1
vote
1 answer

How to react event when window user enter focus into an input area?

I'm going to implementing an On Screen Keyboard for Window which requires the OSK app to show when an user enter an input area. For example, when a user open notepad.exe and start clicking on it, my OSK app (currently run in system tray) should be…
1
vote
1 answer

How can i move cursor in on-screen keyboard with external keyboard?

I am new in Android and i am working to make an on-screen keyboard which can be visitable via arrow(direction) keys of my external keyboard. I mean i wanna move left, right, up and down in the on-screen keyboard's UI (keys) with pressing arrow keys…
1
vote
1 answer

Static UI header element needs to remain in view when on-screen keyboard is opened for a RichEditBox

I'm trying to change the behaviour when there's on-screen keyboard presence similar to what is described on https://msdn.microsoft.com/en-gb/windows/uwp/input-and-devices/respond-to-the-presence-of-the-touch-keyboard?f=255&MSPPError=-2147217396 but…
1
vote
1 answer

How do I invoke or dismiss the touch keyboard in WPF using .NET 4.6.2?

Microsoft's release notes for .NET Framework 4.6.2 includes the following: "Soft Keyboard support enables automatic invocation and dismissal of the touch keyboard in WPF applications without disabling WPF stylus/touch support on Windows 10. Prior…
Claus Appel
  • 1,015
  • 10
  • 28
1
vote
2 answers

Cannot get OSK to display

I am trying to write a desktop application where if I click certain buttons OSK will appear. I try calling it with the following code: System.Diagnostics.Process.Start("osk.exe"); But the following error displays each time: "Could not start On…
Phia-CM
  • 67
  • 1
  • 9
1
vote
1 answer

Automatically enable Windows 10 touch keyboard & full keyboard with powershell script

I am trying to write a Powershell script that automatically sets up a Windows 10 platform that uses only a touch screen monitor as it's interface. I've found this registry key and wrote it into the script: $registryPath =…
stelicho
  • 21
  • 8
1
vote
0 answers

C# WPF touch keyboard input on textbox shows memory error

I have a wpf application running on a Windows 7 Embedded client. The touch keyboard is correctly shown when a textbox is focused. But if I press a touch, I have this message : memory error window I'm able to use the software until I click on close,…
Ben
  • 11
  • 4
1
vote
1 answer

Finding the class name of the On-Screen Keyboard?

I am attempting to use this code sample to control the Windows XP On-Screen Keyboard (OSK.exe) from a C# (.NET 3.5) Winforms application: [DllImport("User32.dll")]public static extern Int32 SetForegroundWindow(int hWnd); …
John M
  • 14,338
  • 29
  • 91
  • 143
1
vote
1 answer

WPF: Invoking onscreen keyboard from a textbox in WebBrowser control on win10

I'm working on a WPF software (using vb) that allows web pages to be opened in a WebBrowser control. The WPF software is run on a tablet in fullscreen mode and Windows onscreen keyboard cannot be invoked separately. What we've done is first disable…
crazysnake
  • 451
  • 2
  • 7
  • 18
1
vote
4 answers

Better solution for making on-screen keyboard

I'm trying to make on-screen keyboard (button A, button B, etc). When you press button it does add character to TextBox. Everything is working fine but if i will create like 30+ chars my code will be huge. Any possible way to make it shorter? Code…
Roberts Šensters
  • 585
  • 1
  • 7
  • 23
1
vote
2 answers

On Screen Keyboard auto pop up

Is there a way to on screen keyboard auto pop up when user clicks TextBox field on WPF? If it is possible, can it work across the app?
arti
  • 645
  • 1
  • 8
  • 27