开发者

Window Message Notification - Language and Locale

I want to find out what win message is / are sent when we change the locale settings, Date Time and Language in partic开发者_如何转开发ular.

I know when window Theme is changed we receive WM_THEMECHANGED.


WM_SETTINGSCHANGE for locale settings and WM_TIMECHANGE for time changes.

You will get WM_INPUTLANGCHANGEREQUEST before the language is changed (and you can choose whether to accept or reject the change), and then WM_INPUTLANGCHANGE after the language is successfully changed (if you pass WM_INPUTLANGCHANGEREQUEST to the DefWindowProc).


WM_TIMECHANGE is sent whenever system time is changed.

WM_SETTINGCHANGE is also sent upon change of some modifications. However, it's done on a volunteer base by the app that changes the setting. One can assume standard Control Panel applets are fair players.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜