Detect Input Method Changes

本文介绍了当用户更改输入面板状态时,操作系统如何通过发送WM_SETTINGCHANGE消息通知应用程序。此外,还讨论了输入方法编辑器(IMM)在用户更改输入语言后如何发送WM_INPUTLANGCHANGE消息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

From http://msdn.microsoft.com/library/en-us/wceui/html/_wcesdk_Programming_an_Input_Panel.asp 

When the user changes the state of the input panel, the OS sends out a WM_SETTINGCHANGE message to all of the active applications. This wParam parameter of this message is the value SPI_SETSIPINFO in its wParam parameter.

See also http://msdn.microsoft.com/library/en-us/directx9_c/Using_an_Input_Method_Editor_in_a_Game.asp

The IMM sends a WM_INPUTLANGCHANGE message to the active window of an application after the input locale has been changed by the user with a key combination (usually ALT+SHIFT), or with the input locale indicator on the taskbar or language bar. The language bar is an on-screen control with which the user can configure a text service.




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值