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. Upgraded MFC app does not have xp styles

Upgraded MFC app does not have xp styles

Scheduled Pinned Locked Moved C / C++ / MFC
c++wpfhardwarequestion
3 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.
  • K Offline
    K Offline
    Kurt _B
    wrote on last edited by
    #1

    I upgraded an MFC app from 7 --> 8 and my dialogs do not have the xp styles. Is there something I have to do? I thought 8 embedded the manifest for you. Thanks Kurt

    W 1 Reply Last reply
    0
    • K Kurt _B

      I upgraded an MFC app from 7 --> 8 and my dialogs do not have the xp styles. Is there something I have to do? I thought 8 embedded the manifest for you. Thanks Kurt

      W Offline
      W Offline
      Warren Stevens
      wrote on last edited by
      #2

      Upgraded apps are not the same as newly created apps. i.e. the project settings (etc) are not changed behind your back (which is probably a good thing. I used the following to get the XP style in my app: http://www.codeproject.com/w2k/xptheme.asp[^] Warren

      K 1 Reply Last reply
      0
      • W Warren Stevens

        Upgraded apps are not the same as newly created apps. i.e. the project settings (etc) are not changed behind your back (which is probably a good thing. I used the following to get the XP style in my app: http://www.codeproject.com/w2k/xptheme.asp[^] Warren

        K Offline
        K Offline
        Kurt _B
        wrote on last edited by
        #3

        Found this somewhere, put into stdafx.h, pretty easy. #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")

        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