Click here to Skip to main content
15,898,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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.
 
Share this answer
 
Form1.FormBorderStyle = FormBorderStyle.None;

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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900