Hi,
1. How can i detect if Windows XP has its Visual Style enabled or not ?
2. how can i use this Visual Style on my custom control ? I mean how to
make them look like XP control.
3. if visual style is disabled, how can i draw control according to old
standard (flat or 3D) ?
thanks a lot,
RAF
Mick Doherty - 19 Oct 2007 16:27 GMT
For Visual Styles:
VS2005
Take a look at the System.Windows.Forms.VisualStyles class.
VS2002/3
You'll have to use InterOp.
Without Visual Styles you can use the ControlPaint class for standard
borders.

Signature
Mick Doherty
http://www.dotnetrix.co.uk/nothing.html
> Hi,
>
[quoted text clipped - 7 lines]
>
> RAF