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 Themes

XP Themes

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++csharpjsontutorial
2 Posts 1 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.
  • L Offline
    L Offline
    Larry Antram
    wrote on last edited by
    #1

    Question #1: How can I create a list of Themes installed in Windows XP? (Similar to the list which appears in Display Properties > Themes). Question #2: How can I programatically switch between, or apply, a theme to the system? (Without using ShellExecute to bring up Display Properties). Is there an API for accomplishing these tasks? If not, any ideas of how to do it anyway? I'm using Visual C++ 6 (or Visual C++ .NET). Thanks in advance!

    L 1 Reply Last reply
    0
    • L Larry Antram

      Question #1: How can I create a list of Themes installed in Windows XP? (Similar to the list which appears in Display Properties > Themes). Question #2: How can I programatically switch between, or apply, a theme to the system? (Without using ShellExecute to bring up Display Properties). Is there an API for accomplishing these tasks? If not, any ideas of how to do it anyway? I'm using Visual C++ 6 (or Visual C++ .NET). Thanks in advance!

      L Offline
      L Offline
      Larry Antram
      wrote on last edited by
      #2

      Larry Antram wrote: Question #1: How can I create a list of Themes installed in Windows XP? (Similar to the list which appears in Display Properties > Themes). After searching MSDN (with no luck) and poking through the Registry on my machine, I've come to the conclusion that to build the list involves doing a FindFirst/FindNext on [Windows]\Resources\Themes\*.msstyles, and perhaps loading a friendly name (string resource) out of each DLL? Am I correct in this assumption? Larry Antram wrote: Question #2: How can I programatically switch between, or apply, a theme to the system? (Without using ShellExecute to bring up Display Properties). I still need help with this one. I know I can use ShellExecute on a .msstyles file to bring up Display Properties, which will allow the user to apply the Theme -- however there has to be another (automatic) way. Any ideas?

      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