简体   繁体   中英

MFC/WinApi: How detect when system language changes in windows 10?

I'm trying to detect when the system language in windows 10 OS changes, are there any windows message which I can subscribe (DefWindowProc) or another way to do it?

Thanks in advance.

Look at WM_SETTINGCHANGE . When the system's locale settings change, the lParam will be a pointer to a string with a value of "intl" .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM