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
Marc Gravell - 23 Jun 2006 17:05 GMT
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
Ahmed - 23 Jun 2006 17:13 GMT
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
> 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
[quoted text clipped - 9 lines]
>
> roy
roybrew@att.net - 23 Jun 2006 17:53 GMT
Sorry. My fault. Ahmed was correct. Without knowing it, my theme was
set to Windows Classic on this WinXP machine..
roy
> I think you are using the Windows Classical style. Right click you
> desktop -> properties -> Appearance tab - > Windows and buttons
[quoted text clipped - 15 lines]
> >
> > roy
Ahmed - 23 Jun 2006 18:00 GMT
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..
[quoted text clipped - 19 lines]
> > >
> > > roy