Getting notified of System Changes

  • Thread starter Thread starter PJ on Development
  • Start date Start date
P

PJ on Development

Greetings,

I'm developping a simple WinForm application and I'm kinda stuck.

I need to be aware if the user changed the default system fonts (i.e.
the fonts defined in the Control Pannel/Display/Appearance/Advanced in
Windows XP) to reflect this changes on my application.

Right now the application get the desired font (from the SystemFonts
object) on the Initialization, but if the user changed the fonts while
the application is running no luck.

Does anyone know how to accomplish this.

So far I couldn't find anything short of keeping a timer, which I
think it's a VERY uggly solution for such simple problem.

Regards,

PJ
http://pjondevelopment.50webs.com
 
Not sure but I think the WM_SETTINGCHANGE message is sent to all top-level
windows when this occurs.

---------
- G Himangi, Sky Software http://www.ssware.com
Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
Browsing Functionality For Your App (.Net & ActiveX Editions).
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs
rapidly in .Net
 
Back
Top