Unimatrix_001
asked on
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
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
ASKER
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
VB.NET applications have a project setting that is shown in the attached image.
Windows-Application-Framework-Pr.png
For C#, there is a setting in the Program.cs:
Application.EnableVisualSt yles();
Application.EnableVisualSt
ASKER
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
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
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?
Is that a MenuStrip or a MainMenu object?
ASKER
It is a MenuStrip, I don't appear to have a MainMenu object in the toolbox?
ASKER
>>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.
No, this is a new project using the 2.0 framework from the start.
If it is a MenuStrip, what is the setting for RenderMode?
ASKER
If it is a MenuStrip, what is the setting for RenderMode?
ManagerRenderMode
ManagerRenderMode
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That's the ticket! :D
ASKER
By the way if you're familiar with C#, I have a question here if you fancy:
https://www.experts-exchange.com/questions/24529820/Getting-image-position-within-picturebox.html
https://www.experts-exchange.com/questions/24529820/Getting-image-position-within-picturebox.html
ASKER
:)
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.