Set visual style on per-application basis?

J

James Morgan

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
 
B

Bernie Yaeger

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
 

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