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. XP style

XP style

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
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.
  • V Offline
    V Offline
    viliam
    wrote on last edited by
    #1

    Some dialogs have new Windows XP style - I maen buttons are not only simple grey rectangle but they look better. (as draw) or combo box has selection button as blue rect and so on. But when I am creating my dialog based applications (in VC++ 7.1) it still looks as Windows 98 or so on even they run under Windows XP. Is here any way how to turn of this style for my application? Thank you Viliam viliam

    C 1 Reply Last reply
    0
    • V viliam

      Some dialogs have new Windows XP style - I maen buttons are not only simple grey rectangle but they look better. (as draw) or combo box has selection button as blue rect and so on. But when I am creating my dialog based applications (in VC++ 7.1) it still looks as Windows 98 or so on even they run under Windows XP. Is here any way how to turn of this style for my application? Thank you Viliam viliam

      C Offline
      C Offline
      Chris Morrison
      wrote on last edited by
      #2

      I assmume that what you are asking is how to enable Windows XP Visual Styles for your application, so that you dialog window is drawn in the current theme. You will need to add a Common Controls Manifest to your application, this is a script written in XML that forces your application to use version 6.00 of the ComCtl32.dll to draw the controls and non-client areas of your windows. This manifest can be embedded in your exe file's resources, or you can place it in the same directory as your exe file and give it the same name as your exe file with .manifest appended to the end. For example, if your exe is called MyApp.exe then you would call you manifest file MyApp.exe.manifest. Click here[^] for further information. Hope this helps, Chris

      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