|
-
June 6th, 2011, 05:45 AM
#1
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?
-
June 6th, 2011, 11:40 AM
#2
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='*'\"")
Gort...Klaatu, Barada Nikto!
-
June 6th, 2011, 02:30 PM
#3
Re: MFC GUI style XP
Mike thank you very much, you solved it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|