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 47355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:06:35+00:00 2026-05-10T16:06:35+00:00

Some of the controls I’ve created seem to default to the old Windows 95

  • 0

Some of the controls I’ve created seem to default to the old Windows 95 theme, how do I prevent this? Here’s an example of a button that does not retain the Operating System’s native appearance (I’m using Vista as my development environment):

HWND button = CreateWindowEx(NULL, L'BUTTON', L'OK', WS_VISIBLE | WS_CHILD | BS_PUSHBUTTON,                                   170, 340, 80, 25, hwnd, NULL, GetModuleHandle(NULL), NULL); 

I’m using native C++ with the Windows API, no managed code.

  • 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. 2026-05-10T16:06:36+00:00Added an answer on May 10, 2026 at 4:06 pm

    I believe it has got nothing to do with your code, but you need to set up a proper manifest file to get the themed controls.

    Some info here: @msdn.com and here: @blogs.msdn.com

    You can see a difference between application with and without manifest here: heaventools.com

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

Sidebar

Related Questions

I need to make some controls static, for example: private static System.Windows.Forms.TextBox infoBox; infoBox
I have some controls in columns that I would like to look like this,
I am using ASP.NET Panel to set Default Button for some Controls like TextBox
For example i've developed a website which contains some controls like button,treeview,etc....Then how can
Basically I want to assign events to some controls that are created. I want
I have a UIView that contains some controls etc... This UIView also contains a
I have a form with some controls. (Actually, this is a sort of ongoing
I'm developing a web application that shows some controls and descriptions dynamically (I don't
I'm changing the look of some Controls that I use in my Microsoft Surface
WPF Controls are divided into various baskets. Some controls belong to System.Windows.Controls namespace and

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.