VS.NET 2005 and XP Visual Styles

R

roybrew

I've recently installed VS.NET 2005 (prof) and when I create a WinForm
app and, say, add buttons to it, by default you get the old crappy
standard buttons -- no the new XP Style buttons with rounded corners,
etc. On another person's system the same software is installed and
behaves correctly. Very odd. Have also done the manifest file thing
-- nothing seems to work. Have set the FlatStyle to system, called
Application.EnableVisualStyles().

Anyone seen this before?

Thanks in advance

roy
 
M

Marc Gravell

This may sound the obvious question, but I like to start simple:

Are you using the software on an OS that is a: compatible with visual styles
(i.e. XP), and b: has visual styles enabled? Do other apps on that system
appear in the XP style?

If you take either the source or binary from your project and run it on the
other computer, does it appear correctly there?

Marc
 
A

Ahmed

I think you are using the Windows Classical style. Right click you
desktop -> properties -> Appearance tab - > Windows and buttons
dropdown and choose windows xp style. Even when you are on design mode,
you should get the rounded buttons if you have that value set to
windows xp style
 
R

roybrew

Sorry. My fault. Ahmed was correct. Without knowing it, my theme was
set to Windows Classic on this WinXP machine..
roy
 
A

Ahmed

Glad to hear that your problem has been fixed :D

Sorry. My fault. Ahmed was correct. Without knowing it, my theme was
set to Windows Classic on this WinXP machine..
roy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top