XP Style controls?

  • Thread starter Thread starter Connor T
  • Start date Start date
C

Connor T

Hi,

How do i enable XP Style controls in my VB .net application?

At the moment they look like standard old style buttons and scroll bars.

Rgds,
Dan
 
How do i enable XP Style controls in my VB .net application?

Ah; I found it

Application.EnableVisualStyles combined with setting FlatStyle properties to
system ( this was what i missed )

Thanks,
Dan
 
If you want to be really clever, use graphics to draw on the tool
remembering that it may well get repainted.

Dim g as graphics = somecontrol.creategraphics
g.drawrectangle(new pen(color.red),left,top,width,height)
g.dispose

or whatever
 

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

Back
Top