改变系统calndar [英] Changing system calndar

查看:110
本文介绍了改变系统calndar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用SetLocaleInfo更改系统日历(例如,从格里高利语到阿拉伯语),效果感觉不会立即打开Windows资源管理器窗口,以及任务栏上的时钟。我怎样才能解决这个问题?也许通过发送或发布适当的消息?

I change the system calendar (eg, from gregorian to Arabic) with SetLocaleInfo, the effect is not felt immediately open Windows Explorer windows, and the clock on the taskbar. How can I fix this? Maybe by sending or posting an appropriate message?

推荐答案

文档提到了必须发送的消息。试试这个:

SendMessageA(HWND_BROADCAST,WM_SETTINGCHANGE,0,(LPARAM)"intl");

或根据文档使用 SendMessageTimeoutA


这篇关于改变系统calndar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆