« Ultimate Developer Tools List | Main | NGen Unleashed »
Call DoEvents after EnableVisualStyles

I thought I'd post a quick workaround for those of you who might be having trouble getting Application.EnableVisualStyles() to work or if the visual styles are only being applied to a few of your forms. This bug in the 1.1 version of the .NET framework can, fortunately, be solved by calling Application.DoEvents() right after calling Application.EnableVisualStyles(). That's it, problem solved. :)

Posted by JoshC at September 16, 2003 10:19 PM
Trackbacks
TrackBack URL for this entry:
http://www.joshchristie.com/weblog/mt/mt-tb.cgi/29

Listed below are links to weblogs that reference 'Call DoEvents after EnableVisualStyles' from Josh Christie's Weblog.
Comments
Post a comment









Remember personal info?