Is it possible to hide the SIP (soft keyboard) in Win 8?

女生的网名这么多〃 提交于 2019-12-11 17:51:24

问题


When the user edits a record, a XAML Popup shows a small form.

The software keyboard appears when the user gives focus to a TextBox.

This is good.

OnKeyDown (if Enter) I commit the user's changes.

After the changes are committed, I hide the XAML Popup.

The SIP remains visible even though the form is invisible.

What is the correct way to handle this scenario?

PS: this ( Show/Hide Keyboard programmatically on windows8 ) is not a solution to this problem. That's because the question is wanting to prevent it from showing. I need it to hide.


回答1:


Disable the texbox before you hide the popup, move the focus to something that won't use the keyboard (like transparent 0x0 border), perhaps?



来源:https://stackoverflow.com/questions/13205963/is-it-possible-to-hide-the-sip-soft-keyboard-in-win-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!