System.Windows.Forms.Application.EnableVisualStyles

N

NickP

Hi there,

Im using System.Windows.Forms.Application.EnableVisualStyles to attempt
to apply visual styles to message boxes in a VB.NET 2005 application.

Unfortunately this has no effect, the application has the "Application
Framework" enabled with "Enable XP Visual Styles" set to true. Any ideas on
what I'm missing?

Thanks loads in advance!

Nick.
 
N

NickP

Hi again,

It's okay I found the problem, I was supplying all optional parameters
to the MessageBox.Show method, one of the passed parameters for "options"
was causing this to occur.

Nick.
 

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

Top