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 / September 2004

Tip: Looking for answers? Try searching our database.

Set visual style on per-application basis?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
James Morgan - 17 Sep 2004 23:37 GMT
Hello all,

I've searched on this, and found no definitive answer.

I have my C# app running with visual styles enabled,
and my client really likes the "Silver" XP look & feel.
Is it possible to apply this style to just my application
programmatically without affecting the rest of the
user's experience?

I'm not opposed to interop, manifests, or any of the other
shenanigans windows forms development entails, I just
want to know if this is possible, and if so how.

I am not interested in subclassing every darn control
and owner-drawing it. That sort of defeats the premise
of a ready-made theme.

If it's not possible to apply an MS visual style to just
my app, is there a 3rd party solution out there that
would provide similiar behavior? What I want is something
like Java Pluggable L&F: one line of code and your app
looks the way you want it to.

Thanks,

~j
Bernie Yaeger - 18 Sep 2004 00:00 GMT
Hi James,

I think the pc has to be running with that xp style in order to be able to
see it in your app, so it would be visible in all apps.  Funny, it's my
favorite theme also.

But I'm not sure I'm correct about this, so wait for more answers.

Bernie Yaeger

> Hello all,
>
[quoted text clipped - 23 lines]
>
>  ~j
James Morgan - 26 Sep 2004 17:18 GMT
anyone know for sure?

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.