停止Vista& Win7主题接管 [英] Stop Vista & Win7 Theme take over

查看:73
本文介绍了停止Vista& Win7主题接管的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想知道如何阻止Vista和Win7将它们的主题强加到我的WinForms Apps上?我说的是边框和标题栏.我们的应用程序有自己的颜色设置,但是Vista和Win7似乎并不在乎,现在我们的应用程序无论是否需要都具有Vista/Win7边框和标题栏.

任何帮助将不胜感激.
感谢

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

推荐答案

您可以尝试类似 Winforms SkinFramework [ ^ ]和此处给出的链接.

我不知道他们会击败Vista/Weven主题,但强烈建议他们这么做.
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.


Form1.FormBorderStyle = FormBorderStyle.None;


然后,根据您自己的应用程序样式,自己绘制边框和标题.


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


这篇关于停止Vista& Win7主题接管的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆