Dialog look and feel

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

With VS2005 the look and feel of dialogs created with MFC and Windows Forms
is different. E.g. still of checkboxes, buttons, etc.

Is it possible to achieve the same look and feel with both MFC and Windows
Forms?

TIA,
KK
 
Kevin said:
With VS2005 the look and feel of dialogs created with MFC and Windows
Forms is different. E.g. still of checkboxes, buttons, etc.

Is it possible to achieve the same look and feel with both MFC and Windows
Forms?

What's the visual difference? Does one application use the classic style
and the other one the new Windows XP style?
 
Herfried K. Wagner said:
What's the visual difference? Does one application use the classic style
and the other one the new Windows XP style?

With the MFC dialog the buttons are squarer and darker grey. The radio
buttons and checkboxes are recessed. The Windows Forms dialogs has the
latest Office look, so rounder buttons and flat checkboxes.
 
Hi Kevin,

If you look at Program.cs there is a line in Main() called

Application.EnableVisualStyles();

If you comment this line or remove it xp style is gone, or at least for the
common controls. Not sure why you would want to though.
 
Back
Top