on-screen-keyboard

Java - invoke on-screen keyboard

邮差的信 提交于 2019-12-10 07:48:02
问题 The application I am working on will run on Windows 7. It will be used to input some information via touchscreen. I need to have an on-screen keyboard popup whenever user is prompted for information. My question is, should I create a keyboard class from scratch or should I use the Windows 7 built-in on-screen keyboard and how would I invoke it in my Java application? Thank you 回答1: I have just played with on-screen keyboard and saw that it is easy. You just have to invoke it using either

Show android:hint only in Extract UI mode

落爺英雄遲暮 提交于 2019-12-08 17:31:53
问题 I have a list of EditTexts in an android layout. Each one is labeled with a TextView, so no hint is necessary in portrait mode, and a hint would even be redundant. However, in landscape mode, many people have keyboards configured to take full screen and hide the app until the keyboard is hidden and the input is injected into the selected view: This may be fine if you have one EditText field for input, but if you have a list, nobody is memorizing the six TextView labels before going through

Show up the On Screen keyboard if the user sets the focus on a textfield. WPF with .Net 4 Client profile

五迷三道 提交于 2019-12-07 04:01:19
问题 For my full screen WPF application, I need to show up the Windows 7 onscreen keyboard, if a user sets the focus on a textfield. There's no hard keyboard for the panel, just a mouse device to interact with it. In this case I need a onscreen keyboard to fill up the textfields. The WPF-application is written in C# .Net on the .Net Framework 4.0 Client profile. Thanks for reply Andi 回答1: You can wire up following code to TextBox's GotKeyboardFocus or GotFocus event Process.Start("systempath..\

How to adjust screen when keyboard open in windows phone 8?

怎甘沉沦 提交于 2019-12-06 10:25:19
问题 I am working in Windows phone 8. In One of the pages of my app there is a LongListSelector and under it there is a TextBox . When the TextBox get focused then keyboard is opened. As the keyboard is opened then the LongListSelector is shifted up by keyboard height. If I maintain the margin of the LongListSelector by keyboard's offset then some of the items of LongListSelector go under the keyboard. All I want to do is when keyboard is shown then margin will be updated and the previous focused

Having trouble showing and hiding the Windows 10 On Screen Keyboard (osk.exe)

送分小仙女□ 提交于 2019-12-06 06:52:20
I have been trying to get the onscreen keyboard ( osk.exe ) to appear (and disappear) on Windows 10 from within my app. My app was running fine in windows 7. Calling ShellExecute() on osk.exe would show the keyboard there but trying to get the same behaviour in Windows 10 has proved to be a pain. To try to hide the keyboard, once it is visible, I tried this: HANDLE wHandle = FindWindowW(L"OSKMainClass", L"On-Screen Keyboard"); if (wHandle != NULL) { long style = GetWindowLong(wHandle, GWL_STYLE); if (style & WS_VISIBLE) { return TRUE; } else { SetWindowLongPtr(wHandle, GWL_STYLE, WS_VISIBLE);

How to insert text at cursor position of another application on Mac OSX Application (like OSK)?

家住魔仙堡 提交于 2019-12-06 02:41:21
I'm trying to create an OSX application which would be a replica of On Screen keyboard. Is it possible to insert some text into the cursor position of another active application? Thanks in advance! It is possible. Accessibility enables to change content of other applications, but your app can't be sandboxed and thus not available via AppStore. CFTypeRef focusedUI; AXUIElementCopyAttributeValue(AXUIElementCreateSystemWide(), kAXFocusedUIElementAttribute, &focusedUI); if (focusedUI) { CFTypeRef textValue, textRange; // get text content and range AXUIElementCopyAttributeValue(focusedUI,

Show up the On Screen keyboard if the user sets the focus on a textfield. WPF with .Net 4 Client profile

孤者浪人 提交于 2019-12-05 07:57:59
For my full screen WPF application, I need to show up the Windows 7 onscreen keyboard, if a user sets the focus on a textfield. There's no hard keyboard for the panel, just a mouse device to interact with it. In this case I need a onscreen keyboard to fill up the textfields. The WPF-application is written in C# .Net on the .Net Framework 4.0 Client profile. Thanks for reply Andi You can wire up following code to TextBox's GotKeyboardFocus or GotFocus event Process.Start("systempath..\\osk.exe"); 来源: https://stackoverflow.com/questions/5669854/show-up-the-on-screen-keyboard-if-the-user-sets-the

How to adjust screen when keyboard open in windows phone 8?

和自甴很熟 提交于 2019-12-04 15:35:11
I am working in Windows phone 8. In One of the pages of my app there is a LongListSelector and under it there is a TextBox . When the TextBox get focused then keyboard is opened. As the keyboard is opened then the LongListSelector is shifted up by keyboard height. If I maintain the margin of the LongListSelector by keyboard's offset then some of the items of LongListSelector go under the keyboard. All I want to do is when keyboard is shown then margin will be updated and the previous focused item of the LongListSelector should not go under keyboard. Here I don't want to use ScrollTo() function

Programmatically open On-Screen Keyboard in UWP

浪尽此生 提交于 2019-12-03 13:57:24
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? Is there a way for touchkeyboard to appear in desktop mode? Ref the document in Keyboard interactions Depending on the device, the touch keyboard appears when a text field or other editable text control

Finding the class name of the On-Screen Keyboard?

时光毁灭记忆、已成空白 提交于 2019-12-02 07:20:15
问题 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); [DllImport("user32.dll")]public static extern int FindWindow(string lpClassName, string lpWindowName); private void BringToFront(string className,string CaptionName) { SetForegroundWindow(FindWindow(className,CaptionName)); } private void Form1_Load(object sender, EventArgs e