XP look and feel

hi all
today i have come with ver common problem my b many of us come across with that while programming
i want that i get more beautiful view of forms buttons controls etc. means i want to change look and feel of my controls in C#
so i need code of C# with or without any third party tool so that i can make my forms and controls more beautiful
i need answer as early as one can
thanx
tata
Abbasi
LVL 3
abbasi1Asked:
Who is Participating?
 
InteractiveMindCommented:
See here: http://www.csharphelp.com/archives2/archive319.html

At the bottom of the page also, there is a link, to download the WinXP L&F.

Hope the helps,
Rob.
0
 
InteractiveMindCommented:
0
 
AlexFMCommented:
See Application.EnableVisualStyles Method.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Tag_MarkmanCommented:
There are four default styles in Java using Swing:

This is part of the Core Platforms
swing.defaultlef = javax.swing.plaf.metal.MetalLookAndFeel

The following are not because you can't guarentee that they are going to be on all plateforms

swing.defaultlaf = com.sun.java.sing.plaf.motif.MotifLookAndFeel

Works on Windows platforms
swing.defaultlaf = com.sun.java.swing.plaf.windows.WindowsLookAndFeel

Works on Mac platforms
swing.defaultlaf = com.sun.java.swing.plaf.mac.MacLookAndFeel

0
 
Tag_MarkmanCommented:
Correction:
This is part of the Core Platforms
swing.defaultlef = javax.swing.plaf.metal.MetalLookAndFeel

Should be:
swing.defaultlaf =  javax.swing.plaf.metal.MetalLookAndFeel
0
 
InteractiveMindCommented:
Tag_Markman,

I'm not quite sure of the relevance of your Java comment, to a C# discussion..?

But, by deafult, the Mac L&F for Java (com.sun.java.swing.plaf.mac.MacLookAndFeel) isn't available on Windows, however, you *can* download it, and include it as part of your own applications, meaning that you can actually incorporate any L&F into any application, with compatibility on any JVM.
0
 
Tag_MarkmanCommented:
My fault... I thought I was in Java form when I answered it...
0
 
abbasi1Author Commented:
hi all
interactiveMind
thats a goog link but
wat i basically need is that
i want that the controls i use on c# or webApplications of C# would seem like as they are in Windows XP whether i have windows 2000 or XP
a form, a message box, a button tab list etc.
thnx
bye
0
 
InteractiveMindCommented:
abbasi1,
I'm quite sure that you'd need to download the XP L&F from somewhere, and include it with your application (in order to have an XP L&F on an OS other than XP)..

I'm not sure where you'll find one of these however. :o\
0
 
abbasi1Author Commented:
thnx interactive mind
i m searching on that if i need i ll contact u later
0
 
abbasi1Author Commented:
interactive mind can u have more links or ionfo abt that
plz send i cant find exact solution
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.