Windows Forms and Themes
Windows XP supports skins. One can basically change how windows and standard controls are drawn. For example, here is WordPad running on my box with the Mac OS X theme:
(FYI: OS X is much prettier than Windows, but native Windows themes have much better contrast and are more functional.)
However, if you develop a new Windows application using Visual Studio.NET and Windows Forms, your app will not respect the themes. You may set a button’s FlatStyle property to System, but your button will still draw as a plain old ugly Windows button.
What’s the trick? It seems that you must create a manifest file for your app, and in that manifest bind your app to COMCTL6. The details can be found at this page:
http://www.gotdotnet.com/team/windowsforms/Themes.aspx
Happy New Year!
