如何模拟Alt + Shift来更改Windows中的语言? [英] How can I simulate Alt+Shift to change the language in Windows?
本文介绍了如何模拟Alt + Shift来更改Windows中的语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在Delphi中强制使用alt + shift来使应用程序成为我的语言.我尝试用keybd_event两次调用它,但没有成功.
i need to to force alt + shift in Delphi to make my language of the app. I tried with keybd_event calling it twice, but it didn't do the trick.
推荐答案
是否要切换应用程序的输入语言?为此,使用 ActivateKeyboardLayout 函数.
Do you want to switch input language of your application? Use ActivateKeyboardLayout function for this.
这篇关于如何模拟Alt + Shift来更改Windows中的语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文