Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SendMessage无法获取中英文状态,微软拼音却正常 #468

Closed
hyaray opened this issue Feb 2, 2020 · 4 comments
Closed

SendMessage无法获取中英文状态,微软拼音却正常 #468

hyaray opened this issue Feb 2, 2020 · 4 comments

Comments

@hyaray
Copy link

hyaray commented Feb 2, 2020

SendMessage(WM_IME_CONTROL:=0x283, IMC_GETOPENSTATUS:=5)
用如上的方式想获取输入法的ascii_mode状态,但是切换中英文状态下返回值都相同,
用微软拼音试,分别返回0或1,能区分开,
请问这是什么原因呢?能否解决,谢谢!!

@lotem
Copy link
Member

lotem commented Feb 7, 2020

大概是沒有實現相關IME接口。librime自己管理狀態。

@hyaray
Copy link
Author

hyaray commented Feb 7, 2020

看来是不容易获取该信息了,如果有,麻烦告知,谢谢

@yu-soong
Copy link

有同样需求。想用autohotkey实现英文状态下句子首字母大写,而中文输入下,不大写。可以获知keyboard layout,然而不知怎么获取asc_ii mode.

@determ1ne
Copy link
Contributor

Closed as stale, reopen it if the problem still exists.

@determ1ne determ1ne closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants