Visual Style not appears

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a simple application which uses a manifest to enable XP styles. It
works on one system without problems but on a second system the application
runs but not style appears. The only differnce is, that system two uses WinXP
SP2. I get not other information, no debug-, log- or any else.
Any Ideas?

Thanks
 
In order to get XP style you need:

1) Add a manifest to your app (or call to a .NET Framework 1.1 function to
avoid the manifest)
2) To change the FlatStyle property of the controls to "System"
3) To have enabled an XP theme in Windows XP. Is this the case in the second
machine?

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
 
Where can I enable XP theme? (I found no hint inside the help system,
security center or local security rules...)
 
Desktop properties, Themes tab, Theme combobox. Depending on the theme that
you choose, XP style will be enabled (Windows XP theme) or not (Classic
Windows theme).

Apart from that I can not think about other factors causing the failure,
specially if the app works fine on other machine...

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
 
Back
Top