문제

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 is some message. Where to send it?

도움이 되었습니까?

해결책

Don't modify the registry directly.

Instead, call the SystemParametersInfo function:

SystemParametersInfo(SPI_SETFONTSMOOTHING, TRUE, NULL, SPIF_UPDATEINIFILE);
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top