"Peter" <st*****@hotmail.comschrieb:
I'm using Visual Studio 2003 and it would be nice if my buttons and other
controls could look like Windows XP buttons rather than the flat square
kind. I looked on the web and found some info on
Application.EnableVisualStyles, but I'm not seeing much indication that
2003 supports it. Does it? And if so, how does it work?
Yes, it's supported. Adapt your 'Sub Main' to look similar to this one:
\\\
Public Sub Main()
Application.EnableVisualStyles()
Application.DoEvents()
Application.Run(New MainForm())
End Sub
///
Note that Windows XP visual styles must be enabled in Windows in order to
see the difference.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>