create xp style on windows 2003 with vs2003 ?

  • Thread starter Thread starter Tom
  • Start date Start date
Hi Tom,

This may not be what you mean, but you can do XP style controls by setting

Application.EnableVisualStyles();
Application.Run(new MyForm);

and set FlatStyle of your controls to FlatStyle.System
 
I tried it doesn't seem to work...

in msdn doc it says that it can achieve windows xp layout on windows 2003
server... but It doesn't seem so

anyone have any ideas ?

Thanks
Tom
 
Tom,

To be able to see the XP style the current Theme needs to be Windows XP. This is set on Windows XP by default. However, on Windows 2003 the default is Windows Classic, and the Windows XP theme doesn't even appear to be available.

There is nothing you can do from the programming style, so if possible you need to install the Windows XP Theme on Windows 2003.
 
ok I got theme working... the theme service was off...

my question is is it possible to export this theme that I develop in so that
even when I deploy my solution on win2k or win98 it will look exactly the
same ?

thanks morten
Tom

Morten Wennevik said:
Tom,

To be able to see the XP style the current Theme needs to be Windows XP.
This is set on Windows XP by default. However, on Windows 2003 the default
is Windows Classic, and the Windows XP theme doesn't even appear to be
available.
There is nothing you can do from the programming style, so if possible you
need to install the Windows XP Theme on Windows 2003.
 
ok I got theme working... the theme service was off...

my question is is it possible to export this theme that I develop in so that
even when I deploy my solution on win2k or win98 it will look exactly the
same ?

That I don't know. I but I don't think you can.
You might want to start a new thread with that question so it will appear unanswered.
 
Back
Top