Windows XP look in Visual Studio 2005?

Posted on 2006-05-23
Last Modified: 2010-04-24
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?
Question by:WilimarLynwood
    1 Comment
    LVL 48

    Accepted Solution

    Open stdafx.h file, in the end you can see number of lines:

    #ifdef _UNICODE
    // XP style request goes here

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

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
    In Easy String Encryption Using CryptoAPI in C++ ( I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now