Blue menu bar

Hi,

Just created a new Windows Form Application using the 2.5 framework, but it seems the menu strip that has been added is blue! I'm running on XP so I'd expect it to take the look and feel of the XP system where a menu bar is the same colour as the control colour. Am I missing something here?

Cheers,
Uni
LVL 3
Unimatrix_001Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

saraganiCommented:
And it will also look different on Vista (On XP it looks 3D and on Vista it looks flat).

What I usually do is either use a decent menu bar (Like infragistics), or use a background image to the menu bar which gives it a Vista look (like a black 3D background). This way it looks cool and it also looks the same on both Vista and XP.

0
Unimatrix_001Author Commented:
I don't want it to look the same on Vista and XP, I'm wanting the menu bar to take on the appearance of the operating system. The first image is not the normal XP menu bar, the second one is. There's bound to be a standard menubar component in Visual Studio for this.

Thanks,
Uni
bar.bmp
bar.bmp
0
Bob LearnedCommented:
There is 2.0 or 3.5, not 2.5 framework version.  Is this a VB.NET application?

VB.NET applications have a project setting that is shown in the attached image.
Windows-Application-Framework-Pr.png
0
CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

Bob LearnedCommented:
For C#, there is a setting in the Program.cs:

            Application.EnableVisualStyles();

0
Unimatrix_001Author Commented:
Hi,

Yes you are correct - it is a 2.0 version. No this is a C# application. I've checked the Program.cs, and the EnableVisualStyles method is already getting called?

Thanks,
Uni
0
Bob LearnedCommented:
Was the application migrated from 1.1 to 2.0?  If you create a new project, and a new form, do you have the same problem?
0
Bob LearnedCommented:
Is that a MenuStrip or a MainMenu object?
0
Unimatrix_001Author Commented:
It is a MenuStrip, I don't appear to have a MainMenu object in the toolbox?
0
Unimatrix_001Author Commented:
>>Was the application migrated from 1.1 to 2.0?  If you create a new project, and a new form, do you have the same problem?

No, this is a new project using the 2.0 framework from the start.
0
Bob LearnedCommented:
If it is a MenuStrip, what is the setting for RenderMode?
0
Unimatrix_001Author Commented:
If it is a MenuStrip, what is the setting for RenderMode?
ManagerRenderMode
0
Bob LearnedCommented:
Do you need RenderMode = System?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Unimatrix_001Author Commented:
That's the ticket! :D
0
Unimatrix_001Author Commented:
By the way if you're familiar with C#, I have a question here if you fancy:
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_24529820.html
0
Unimatrix_001Author Commented:
:)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.