Reputation: 19885
I want to find out what win message is / are sent when we change the locale settings, Date Time and Language in particular.
I know when window Theme is changed we receive WM_THEMECHANGED.
Upvotes: 3
Views: 730
Reputation: 24447
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).
Upvotes: 2
Reputation: 21878
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.
Upvotes: 0