System.Windows.Forms.Application.EnableVisualStyles

  • Thread starter Thread starter NickP
  • Start date Start date
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.
 
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.
 
Back
Top