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!
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd