开发者

How to notify Windows about changes in Desktop settings?

开发者 https://www.devze.com 2023-01-28 06:08 出处:网络
How to notify Windows system that some appearance settings has been changed by my program? I\'m working with:

How to notify Windows system that some appearance settings has been changed by my program?

I'm working with:

HKEY_CURRENT_USER\Control Panel\Desktop -> FontSmoothing + FontSmoothingType

What is a standard way? Maybe there i开发者_Python百科s some message. Where to send it?


Don't modify the registry directly.

Instead, call the SystemParametersInfo function:

SystemParametersInfo(SPI_SETFONTSMOOTHING, TRUE, NULL, SPIF_UPDATEINIFILE);
0

精彩评论

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