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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Do you want to switch input language of your application? Use ActivateKeyboardLayout function for this.
回答2:
Do you control the system to be sure that it's going to respond to that? I have an alternate language installed but it can only be switched via the mouse, I have disabled the keyboard shortcuts. The problem is that I rarely actually need the alternate but I was frequently switching by accident.