-
MFC GUI style XP
how to make MFC app look like one on the left?
http://s4.postimage.org/m13j3m201/guii.png
Both projects are in VC2008
I have sources of both those windows and sources are the same but I can't make one on the right look nicer.
I've added this into linker manifest
"type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'"
but no good, still the same.
How to make it?
-
Re: MFC GUI style XP
VS 2008 changed the way theme support is handled. Try adding this to you stdafx.h file:
Code:
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
-
Re: MFC GUI style XP
Mike thank you very much, you solved it.