   UXTheme in C++
  Good morning.I have a problem and I think maybe you people could help me with this matter. The matter is, I want to enable my applications to change themes, just like most Delphi applications (or at least what ones I have tryed), but I want to do this from C++ (not anything to do with .NET managed C++ or C#, etc...). I know there is this thing called uxtheme.dll which is like the library to load themes, but I dont really know how to distribute my themes inside my application (as a resource?).So far, I know if the user has themes enabled (he is not using the Classic Windows style), then when he changes the visual style, or the color scheme, then all applications will change this look, but what If I want to enable him to change some predefined themes in my own application?I readed once I think, that Microsoft didnt wanted people that pay for their OS to change the themes themselves, so that is the reason why there are "theme changers" applications in the market today, so I dont really know how to put the themes inside my application (I have seen themes are stored in C:\Windows\Resources\Themes by styleXP software)?And last, I dont want to create themes myself, but maybe include free themes from others to put inside the application...Then I dont know about including themes, or loading them from my C++ application (using the winapi of course)...How can I do this?Regards,Franz   
  Sorry, but someone could help myself with this matter?Regards,Franz   ;  You could check this and this...You probably want to check google for tutorials on creating your own themes... which would give you an idea of what files are created/used in the process...I do believe, though, that when you change the theme, it changes the theme for all applications on a user's system, so it would probably not be a good idea to change the theme on their systems without their permission.If you're just looking for a good way to make your application look better, search for custom GUI tools/solutions, or draw them yourself using the platform SDK APIs.Chad   ;  Since you want to draw a different theme than what the user has selected, it sounds like you will need to user-paint your form by handling the WM_PAINT (and other related) messages and draw your own graphics instead of what the DefWindowProc will draw for you.As far as I know, you can't have some windows use Resources\Themes\ThemeA and have others use Resources\Themes\ThemeB.   