What button control is used in MS Windows?

  • Thread starter Thread starter Amos
  • Start date Start date
A

Amos

What type of button control is used in Windows? When you switch from Windows
Classical Theme to Windows XP theme (on Windows XP machines) , the buttons
also change.

Can I use those controls in my application?

Thanks.
 
Amos said:
What type of button control is used in Windows? When you switch from Windows
Classical Theme to Windows XP theme (on Windows XP machines) , the buttons
also change.

Can I use those controls in my application?

Thanks.

http://www.csharphelp.com/archives2/archive319.html

You need to do a few things like set the FlatStyle on your controls to
"System" and then add a manifest file with your distribution, or edit
the resources on the EXE after you compile it to enable the XP look & feel.

The article posted above mentions it in far greater detail.

-c
 
Actually, with version 1.1 of the framework, all that's need is to set FlatStyle to System and call Application.EnableVisualStyles.
 
Back
Top