[已解决] Windows 7 Aero主题-标题栏切断问题 [英] [Solved] Windows 7 Aero theme - title bar cut off problem

查看:101
本文介绍了[已解决] Windows 7 Aero主题-标题栏切断问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个vs 2005 C#程序,它显示一个简单的消息表单.如果程序在Windows 7默认安装(默认情况下启用了Aero主题)上运行,则标题栏将被切断.如果我切换到基本Windows 7基本主题,则标题栏显示为正常(请参见所附图片).由于我不想处理用户的投诉,因此我是否可以用我的程序解决此问题?我已将解决方案与Visual Studio 2010一起加载并重新编译,但这也有相同的问题.

P.S.我还可以将Windows 7 Aero主题保持打开状态,并将调色板标题栏(窗口颜色和外观)的大小设置为更大的大小,这也可以解决该问题.

P.P.S.我注意到弹出几秒钟的表格存在问题.普通形式的标题(即没有超时)很好

附件: http://img202.imageshack.us/img202/8476/titleyr.jpg [ ^ ]

http://img691.imageshack.us/i/title2s.jpg/ [

I have a vs 2005 C# program that displays a simple message form. If the program is run on windows 7 default installation, which has aero theme enabled by default, the title bar is cut off. if I switch to basic windows 7 basic theme the title bar appears normal (see attached pictures). Since I don''t want to deal with the users complaints, is there anyway I can fix this with my program? I have loaded the solution with Visual Studio 2010 and recompiled but that has the same problem as well.

P.S. I can also leave windows 7 aero theme on, and set the palette title bar(windows colors and appearance) size to a much bigger size, and that remedies the problem as well.

P.P.S. I noticed the problem with the forms that pop up for a few seconds. The titles of the ordinary forms(ie. don''t have a timeout) are fine

attachments: http://img202.imageshack.us/img202/8476/titleyr.jpg[^]

http://img691.imageshack.us/i/title2s.jpg/[^]

UPDATE from OP:
Issue resolved by OP himself. Posted as an answer.

推荐答案

这是表格的边框. Windows 7 Aero不喜欢fixedTool.将其更改为fixedDialog并起作用了!
it was the border syle of the form. windows 7 aero does not like fixedTool. changed it to fixedDialog and it worked!


这篇关于[已解决] Windows 7 Aero主题-标题栏切断问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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