Rick,
>I guess my idea of themes is colors, backgrounds are all chosen by the user. I generally add color to my dialogs and listboxes.
A theme is a set of colors and icons and button and scrollbar tab shapes, etc. The user can change some of the colors but not all and none of the rest of the items.
>Was just curious if I added the manifest what effect it would have and if it would also work with Vista.
The simple thing to do is add a manifest file to the same directory as your application, then run it--it will be theme enabled. Put this text into an ASCII file and name it [your app name].exe.manifest (yes, it has two extensions). You don't have to change anything else.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="CompanyName.ProductName.YourApp" type="win32"/>
<description>YourApp</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly>
</dependency>
</assembly>
When you run the app, it will now be theme enabled. Of course, it has to be running under XP or Vista and a theme has to be selected.
There is an issue which I don't know the answer to yet, and that is if you are coloring your application, it may not look good when run under different themes. This is not really a new problem since Windows has always had color schemes and users have been able to even change those colors. But, it would be nice if we could detect which theme was running, so we could use different color sets depending on the theme.
James