Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to enable XP look and feel?

How to enable XP look and feel?

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpc++visual-studiotutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maxmaven
    wrote on last edited by
    #1

    Hi, I made an app with an ok and cancel button in visual studio c++ 2005, but they are blocky (old look). How can I enable the XP look and feel so these buttons look nice? My computer is running XP. Thanks, Max

    K 1 Reply Last reply
    0
    • M maxmaven

      Hi, I made an app with an ok and cancel button in visual studio c++ 2005, but they are blocky (old look). How can I enable the XP look and feel so these buttons look nice? My computer is running XP. Thanks, Max

      K Offline
      K Offline
      krmed
      wrote on last edited by
      #2

      Probably the easiest way is to open the stdafx.h file and near the bottom, you'll find an

      #ifdef _UNICODE
      ...
      ...
      #endif

      Remove the #ifdef and #endif lines (leave the others). This will enable the manifest which will give you the new look. Hope that helps.

      Karl - WK5M PP-ASEL-IA (N43CS) PGP Key: 0xDB02E193 PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups