controlling a virtual keyboard for touch enabled application
controlling a virtual keyboard for touch enabled application
What is the correct way to show and hide the system's on-screen keyboard from a C++ wxWidgets application? I couldn't find an example or documentation...
Re: controlling a virtual keyboard for touch enabled application
There is nothing in wxWidgets to do this in a cross-platform way. I'm not sure if it's even needed. At least under Windows 10, when ever you click into a text field on a touch device, the virtual keyboard shows up automatically.
Use the source, Luke!
Re: controlling a virtual keyboard for touch enabled application
Hi,
The best way would probably be to create a floating frame with 101 buttons.
However I'm not sure how it will handle international keyboards...
Thank you.
The best way would probably be to create a floating frame with 101 buttons.
However I'm not sure how it will handle international keyboards...
Thank you.
Re: controlling a virtual keyboard for touch enabled application
But that would only work with native text input controls, wouldn't it?
Re: controlling a virtual keyboard for touch enabled application
Re: controlling a virtual keyboard for touch enabled application
Yes. For which platforms do you needs this?
For Windows it should be possible to the find the executable of the virtual keyboard and start it yourself. Google "msdn show osk".
Use the source, Luke!
Re: controlling a virtual keyboard for touch enabled application
Sorry for the delay, I got side tracked by an urgent task. This is supposed to be a cross platform application running on Win10 and Linux. And yes, I need a way to activate the system's OSK in a portable way, something like a hypothetical "wxOSK::show(true)".
Re: controlling a virtual keyboard for touch enabled application
There is nothing like this in wxWidgets, i guess you'll have to find a custom solution for each platform yourself.
Use the source, Luke!