How to Make a MDI form itself XP theme aware
-
I'm coding a MDI form application. What I really want the form (not the controls it contain) to look like is similar to Office 2003, which reflects the theme the system is using. Could someone give me some help? Thanks!
Unless you draw the UI elements with the theme data yourself, it's either all or nothing for applying visual styles.
Microsoft MVP, Visual C# My Articles
-
I'm coding a MDI form application. What I really want the form (not the controls it contain) to look like is similar to Office 2003, which reflects the theme the system is using. Could someone give me some help? Thanks!
Also, if you want the Office 2003 look, there are dozens of third-party controls out there (maybe even some free ones, though you get what you pay for often times). Just google. There's a couple here on CodeProject as well, although - IMO - I don't think they even come close to Office 2003.
Microsoft MVP, Visual C# My Articles
-
Also, if you want the Office 2003 look, there are dozens of third-party controls out there (maybe even some free ones, though you get what you pay for often times). Just google. There's a couple here on CodeProject as well, although - IMO - I don't think they even come close to Office 2003.
Microsoft MVP, Visual C# My Articles
-
I can call EnableVisualStyle to make contained controls to have visula styles. But for the form itself, e.g. border colors, how do I make that happen?
I have never done this, but from reading I think it is possible. You can create a manifest file using XML to tell your application to use the operating system's style. The file is placed in the same directory as your project, and is called myProject.exe.manifest I don't have a link for it at the moment, but I'm sure information will be readily available using google :) Hope it helps