Question

Comment notifier Windows que certains paramètres d'apparence a été modifiée par mon programme?

Je travaille avec:

HKEY_CURRENT_USER \ Control Panel \ Desktop -> FontSmoothing + FontSmoothingType

Qu'est-ce qu'un moyen standard? Peut-être il y a un message. Où envoyer?

Était-ce utile?

La solution

Ne pas modifier directement le Registre.

Au lieu de cela, appelez la fonction SystemParametersInfo :

SystemParametersInfo(SPI_SETFONTSMOOTHING, TRUE, NULL, SPIF_UPDATEINIFILE);
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top