Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / June 2006

Tip: Looking for answers? Try searching our database.

VS.NET 2005 and XP Visual Styles

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
roybrew@att.net - 23 Jun 2006 16:48 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.