MFC Dialog Look'n'feel
-
Hi,
using vs2008 to build an old VC6 app i run into problems with the look and feel.
When I start the old app built with VC6 under XP or Vista I get the default l'n'f respectively. After compiling with vs2008 I get W2K Look'n'Feel in both XP and Vista...
Does anyone know why?
Cheers Lion
-
If you would like to have the XP-style for older apps, just paste the following line in your main-file
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
-
hi,
I want the w2k style on w2k, xp style on xp and vista style on vista.
Compiling my app with vc6 thats the case. Now I converted to VS2008 and I get the w2k style on all platforms. I am talking about custom dialogs, the standard dialogs like the Open-, or File-Dialogs are vista style. But the custom dialogs of my app all appear in w2k style on all platforms.
Does anyone have an idea how to change that?
Cheers Lion
-
... I got some clues now from here: http://blogs.msdn.com/oldnewthing/archive/2007/05/31/2995284.aspx