Is there a message or notification in Win32 that detects when user changes locale?

前端 未结 1 501
耶瑟儿~
耶瑟儿~ 2020-12-17 00:59

EDIT:

Question is reduced and optimized in response to community\'s comments. The deleted part of the question will be posted as separate question.

QUESTI

相关标签:
1条回答
  • 2020-12-17 01:25

    Windows sends a WM_SETTINGCHANGE message, with the wParam set to 0, and the lParam set to a character string containing the value intl. This is described in the documentation for WM_SETTINGCHANGE under the Parameters section:

    wParam ...

    When the system sends this message as a result of a change in locale settings, this parameter is zero.

    lParam ...

    When the system sends this message as a result of a change in locale settings, this parameter points to the string "intl".

    Your application will need to respond to the message and make any necessary changes yourself in child dialogs and controls.

    0 讨论(0)
提交回复
热议问题