Take a look at this perhaps.
http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,3dd24f92-a52c-4bb0-8121-c2e6e2cc4f93.aspx>There's an API function named IsThemeActive in UXTheme.dll to verify if Themes are active and I'm actually using it in conjunction with GetSysColor(2) to determine which theme is active.
>
>So, I came to the start point. If I want to do something that looks like Outlook 2003 I need to create predefined themes and when there's no active themes, I need to use GetSysColor.
>
>Tks for you help Anton!