Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9131801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:12:13+00:00 2026-06-17T08:12:13+00:00

I am new to Visual C++ (I have programmed in the past in C

  • 0

I am new to Visual C++ (I have programmed in the past in C not C++). I started creating some basic applications, with windows and controls and other things like those. When ran one of my apps dialog, see how it looks (don’t look at the text in it, it just some text):

enter image description here

My problem is that any component I make, it looks like Windows 2000’s ones. How can I get the Windows 7 Styles?

BTW. As I am new, I would be grateful if somebody will give me tips about good resources to learn from. 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T08:12:13+00:00Added an answer on June 17, 2026 at 8:12 am

    the compiler doesn’t matter much but you need

    • an application manifest that specifies use of version 6 (or better) of the common controls

    • if you want to support Windows XP, a call to InitCommonControls (if I recall the name correctly, check it)

    The minimum complete manifest you need is

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <assemblyIdentity
        version="1.0.0.0"
        processorArchitecture="*"
        name="CompanyName.ProductName.YourApplication"
        type="win32"
    />
    <description>Your application description here.</description>
    <dependency>
        <dependentAssembly>
            <assemblyIdentity
                type="win32"
                name="Microsoft.Windows.Common-Controls"
                version="6.0.0.0"
                processorArchitecture="*"
                publicKeyToken="6595b64144ccf1df"
                language="*"
            />
        </dependentAssembly>
    </dependency>
    </assembly>
    

    Store that as an UTF-8 file if you include national characters.

    For Visual Studio you only need the part about the common controls,

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <dependency>
        <dependentAssembly>
            <assemblyIdentity
                type="win32"
                name="Microsoft.Windows.Common-Controls"
                version="6.0.0.0"
                processorArchitecture="*"
                publicKeyToken="6595b64144ccf1df"
                language="*"
            />
        </dependentAssembly>
    </dependency>
    </assembly>
    

    And specify this as an additional manifest in the project settings.


    A good resource to start Windows API level programming is my Windows API tutorial blog.

    The best book for that, which you will eventually need, is Petzold’s “Programming Windows”. In one of the editions before the (book’s) transition to C#/.NET.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to visual basic and have been tasked with creating an app that
I'm new to visual basic and have been using vb.net to create a console/text
I am new to Visual Basic. I have installed Microsoft Visual Studio 2010. Created
I'm new to visual studio, coming from Delphi. I have a directory tree full
I am using Visual studio 2008. I have a Visual C project new.vcproj. There
Question ONE: I'm still pretty new to .net, but have used Visual Studio for
I have created a new silverlight business application in visual studio. It auto generates
I have recently installed the new Azure development tools for Visual Studio 2010 service
I have just created a new project in VS2010 using the Visual c# >
For a new project I have created a local folder tree with empty Visual

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.