on-screen-keyboard

Open Windows 10 touch keyboard docked in WPF

▼魔方 西西 提交于 2019-12-21 03:36:17
问题 We started creating a WPF touch application in Windows 8 and recently migrated to Windows 10. One feature we implemented is opening the Windows Keyboard when a TextBox receives focus. In Windows 8, it was possible to dock the keyboard to the bottom by setting the registry setting EdgeTargetDockedState and starting the TabTip process: string path = @"C:\Program Files\Common Files\Microsoft Shared\ink\TabTip.exe"; var info = new ProcessStartInfo(path); info.WindowStyle = ProcessWindowStyle

Better solution for making on-screen keyboard

…衆ロ難τιáo~ 提交于 2019-12-20 05:15:32
问题 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 at the moment for 3 buttons. // Method for each button private void tastaturasIevade(TextBox varda_ievade, string burts) { if (varda_ievade.TextLength == 0) { varda_ievade.Text = burts; } else { varda_ievade.Text = varda_ievade.Text + burts; } }

Onscreen Keyboard in Qt 5

廉价感情. 提交于 2019-12-18 10:58:06
问题 I want to create a onscreen keyboard for a desktop application. The application will be built in Qt 5. I have couple of questions, please clarify them. What is the replacement of QInputContext in Qt5? (Because I read somewhere about onscreen keybord by implementing QInputContext but this is not supported by Qt 5.) Where can I find QPlateformInputContext & QInputPanel (on an internet search I found these two as alternatives of QInputContext but not sure about that and also I was unable to find

Virtual keyboard or onscreen keyboard for QtWidgets applications?

戏子无情 提交于 2019-12-13 04:26:58
问题 I'm going to deploy the qtvirtualkeyboard in my widget-based application like so: #include <QtWidgets> int main(int argc, char *argv[]) { qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); QApplication app(argc, argv); QMainWindow window; QLineEdit input(&window); input.move(250, 250); window.show(); return app.exec(); } But the only issue is that the virtual keyboard input panel hides the underlying widgets and cover them! How should I achieve this? Is there any document or solution

Programmatically open On-Screen Keyboard in UWP

末鹿安然 提交于 2019-12-12 07:55:27
问题 Is it possible in UWP to force it to open the On Screen Keyboard (osk.exe)? For example, in C# it is possible using System.Diagnostics.Process.Start("osk.exe"); Doing the above in UWP results in compile error saying there is no Process namespace. I know that in Tablet mode, if I programmatically focus on a TextBox, it will show up the OnScreen keyboard. But is it possible when in Desktop mode? 回答1: Is there a way for touchkeyboard to appear in desktop mode? Ref the document in Keyboard

How to make Windows 8 tablet open the on-screen-keyboard when an input field gets focus?

假装没事ソ 提交于 2019-12-12 04:47:21
问题 I am developing an app for a Windows 8.1 tablet (using Java & eclipse RCP). I would like Windows to automatically open the OSK when a text field receives focus and to close it again when the focus is lost. This works for some of the built-in windows functions such as search (swipe in from the right side of the screen and the search field appears) I have tried to open OSK programmatically but it does not work as expected. The OSK is started but in a window which removes the focus from the

Detect the onscreen keyboard in Windows 10 from Winforms

时光毁灭记忆、已成空白 提交于 2019-12-12 02:18:08
问题 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

How to position the On-Screen Keyboard window?

╄→尐↘猪︶ㄣ 提交于 2019-12-10 21:04:49
问题 After launching osk.exe with ShellExecuteEx() I would like to position the keyboard window relative to the data-entry fields, so that it doesn't cover them. How do I set the window position for the osk before calling it? Also, how can I have the application hide the osk when I am finished? 回答1: You can use FindWindow using the window class "OSKMainClass" to get the window handle, and then SetWindowPos on that handle to position it to the coordinates you want. (You may need to use the control

C# how to disable on-screen keyboard sound in windows xp/7

妖精的绣舞 提交于 2019-12-10 15:26:52
问题 I have a C# application running on windows xp/7 where I'm using onscreen keyboard. When the sound is enabled there is a delay which causes problems. I would like to disable the sound. How can I disable the sound through my C# application code. Any ideas ? 回答1: You can disable it from registry [HKEY_CURRENT_USER\Software\Microsoft\Osk] "ClickSound"=dword:00000001 // Related Registry Key You can use this code to change it RegistryKey key = Registry.CurrentUser; //key gets the value = "HKEY

Disable On-Screen-Keyboard

好久不见. 提交于 2019-12-10 09:47:20
问题 I'm developing a Windows Store app for an embedded application where the only input device is a small touchscreen. For this reason I'm developing my own number and text entry controls that match the visual look of the application and work better on the small screen. Is it possible to prevent the Windows 8 on-screen keyboard from appearing when a textbox gets focus? 回答1: You can't, it's a user preference as of now. Similar question is found here From Hanselman Unfortunately there is no