Click here to Skip to main content
14,328,738 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi
I would like to know how I can stop Vista and Win7 from forcing their themes onto my WinForms Apps? I'm talking about the border and the title bar. Our app has its own color setup, but Vista and Win7 seems to not care and now our app has the Vista/Win7 borders and title bar whether we want it or not.

Any help would be appreciated.
Thanks
Posted
Updated 1-Oct-10 11:28am
v3
Rate this:
Please Sign up or sign in to vote.

Solution 1

You could try somethin like the techniques described in Winforms SkinFramework[^] and the links given there.

I have no definite knowledge that they will defeat Vista/Weven theming but strongly suggest that they will.
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

Form1.FormBorderStyle = FormBorderStyle.None;

Then, draw the borders and caption yourself, according to your application own style.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100