程序中无法判断微软拼音的候选框是否出现

superUUZ 0 信誉分
2025-04-21T00:30:36.22+00:00

程序中无法判断微软拼音的候选框是否出现

我写了个程序,按下回车键时完成某项功能,但是我打字时偶尔会按下回车键,如何在打字时屏蔽回车键功能,我的想法是检测候选词框是否出现,但是我并没有找到该如何检测候选词框是否出现,能给我提供一些帮助吗,十分感谢。

In the program, it's not possible to determine whether the Microsoft Pinyin candidate box is visible. I wrote a program that performs a certain function when the Enter key is pressed. However, I sometimes accidentally press Enter while typing. I want to disable the Enter key function while typing. My idea was to detect whether the Microsoft Pinyin candidate box is visible, but I haven't found a way to do that. Could you provide some help? I would really appreciate it.

Microsoft Teams | Microsoft Teams 商业版 | 其他
0 个注释 无注释
{count} 票

你的答案

问题作者可以将答案标记为“接受的答案”,这有助于用户了解已解决作者问题的答案。