I've forgotten to mention that controls that support the FlatStyle property
must have their FlatStyle set to system, for the visual styles to appear.
--
HTH,
-- Tom Spink, Über Geek
Please respond to the newsgroup,
so all can benefit
"Chaos, Panic, Disorder, my work here is done"
: Hi, when your application starts (e.g. in the Sub Main or your form's
'New'
: method), put the following lines:
:
: Application.EnableVisualStyles()
: Application.DoEvents()
:
: --
: HTH,
: -- Tom Spink, Über Geek
:
: Please respond to the newsgroup,
: so all can benefit
:
: "Chaos, Panic, Disorder, my work here is done"
:
:
: : : Can I use same control as Windows XP style in my app. Ex.: Button as
flat
: : and round coner, groupbox as round coner, all scrollbar and drop down is
: : blue etc. ... I use VB.NET 2003 on Windows XP Pro sp1 and my control is
: old
: : design
: :
: :
:
: