更改键盘布局 [英] Changing keyboard layout

查看:284
本文介绍了更改键盘布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在文本字段中使用阿拉伯语而不用vb6使用ALT + SHIFT键.简而言之,更改键盘布局

I want to write Arabic language in a textfield with out using ALT+SHIFT KEYS using vb6.In short to change the keyboard layout

推荐答案

如果您的应用程序更改了键盘布局,您将使您的用户大为烦恼.

我强烈建议您找到问题的另一种解决方案:如果有任何应用程序在不询问的情况下更改了我的布局,则会以极大的偏见将其删除,并且我将非常高兴地确保作者在大多数公众场合中发现我的不满意之处.我可以管理的方式.
If your application changes the keyboard layout, you are going to annoy your users big time.

I would strongly suggest that you find another solution to your problem: if any app changed my layout without asking, it would be deleted with extreme prejudice, and I would take great pleasure in ensuring that the author found out about my displeasure in the most public way I could manage.


我建议您不要这样做.您最好知道何时切换键盘布局或输入语言.另外,为什么您将键设为Alt + Shift?用户可以使用不同的选项.

如果您真的想做这个丑陋的事情,我知道唯一的一种方法:使用Windows API SendInput.它可以模拟低级别的键盘或鼠标输入.请参阅 http://msdn.microsoft.com/en-us/library/ms646310(v = vs.85).aspx [
I advice you not to do it. You user knows better when to switch the keyboard layout or input language. Also, why do you thing the key is Alt+Shift? Different options are available to the user.

If you really want to do this ugly thing, I know the only one way: to use Windows API SendInput. It simulates keyboard or mouse input on low-level; see http://msdn.microsoft.com/en-us/library/ms646310(v=vs.85).aspx[^].

Don''t do it.

—SA


如上所述,如果用户需要阿拉伯键盘为其提供虚拟键盘,那么还有很多插件 ^ ].
As above, plus if the user needs an Arabic keyboard give them a virtual one, there are plenty of plug-in ones available[^].


这篇关于更改键盘布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆