Windows XP look in Visual Studio 2005?

Hello, I've recently switched from Visual Studio 2002 to 2005, and I've noticed that when I create MFC Applications, they don't get the Windows XP look unless I use the Unicode Libraries.

I've noticed that when I change the "Character Set" option in the project configuration to "Use Multi-Byte Character Set", the XP look would go away.

Anyone got any idea what's happening?
LVL 1
WilimarLynwoodAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
AlexFMConnect With a Mentor Commented:
Open stdafx.h file, in the end you can see number of lines:

#ifdef _UNICODE
// XP style request goes here
#endif

Comment #ifdef _UNICODE and #endif lines, and application runs with XP style also in ANSII configuration.
0
All Courses

From novice to tech pro — start learning today.