Click here to Skip to main content
15,888,590 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
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.
Posted
Updated 19-Feb-11 5:13am
v4
Comments
Henry Minute 18-Feb-11 14:59pm    
Do you get the same problem with FormBorderStyle set to another option?

FormBorderStyle.FixedDialog for example.

1 solution

it was the border syle of the form. windows 7 aero does not like fixedTool. changed it to fixedDialog and it worked!
 
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