Getting notified of System Changes

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
 
G

G Himangi

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top