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#
  4. Windows XP Colors

Windows XP Colors

Scheduled Pinned Locked Moved C#
questioncsharptutorial
4 Posts 3 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.
  • W Offline
    W Offline
    Whoami Whoami
    wrote on last edited by
    #1

    Hi again i am working on a C# windows program and i am trying to make some control just like what we have in OS or office 2003. but i can't find the color code that change with changing system default Theme. we have 3 default theme on XP, blue green and Gray, how can i paint my control or their background with for example the special blue gradient we have on background of Windows explorer search pane? thanks a lot.:)

    W S 2 Replies Last reply
    0
    • W Whoami Whoami

      Hi again i am working on a C# windows program and i am trying to make some control just like what we have in OS or office 2003. but i can't find the color code that change with changing system default Theme. we have 3 default theme on XP, blue green and Gray, how can i paint my control or their background with for example the special blue gradient we have on background of Windows explorer search pane? thanks a lot.:)

      W Offline
      W Offline
      WillemM
      wrote on last edited by
      #2

      Good question I wondered about that too. My suggestion at this point it too download some of the samples here and see how others did it. It should be in there. My best guess is that the various Explorer bars and outlook 2003 bar implementations should contain just what you need.

      WM. What about weapons of mass-construction? "What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson My blog

      S 1 Reply Last reply
      0
      • W Whoami Whoami

        Hi again i am working on a C# windows program and i am trying to make some control just like what we have in OS or office 2003. but i can't find the color code that change with changing system default Theme. we have 3 default theme on XP, blue green and Gray, how can i paint my control or their background with for example the special blue gradient we have on background of Windows explorer search pane? thanks a lot.:)

        S Offline
        S Offline
        Scott Dorman
        wrote on last edited by
        #3

        It depends on what you are trying to change. If you want to change the colors of the toolstrips, menustrips, and statusstrips, you will need to create your own renderer that derives from ToolStripProfessionalRenderer and your own color tables that derive from ProfessionalColorTable. You can then set the ToolStripManager.Renderer property to your renderer. You will need to change the RenderMode property on the toolstrip, menustrip, and statusstrip to ManagerRenderMode as well.

        ----------------------------- In just two days, tomorrow will be yesterday. http://geekswithblogs.net/sdorman

        1 Reply Last reply
        0
        • W WillemM

          Good question I wondered about that too. My suggestion at this point it too download some of the samples here and see how others did it. It should be in there. My best guess is that the various Explorer bars and outlook 2003 bar implementations should contain just what you need.

          WM. What about weapons of mass-construction? "What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson My blog

          S Offline
          S Offline
          Scott Dorman
          wrote on last edited by
          #4

          Willem, See my other response: http://www.codeproject.com/script/comments/forums.asp?forumid=1649&mpp=50&select=2137613&df=100#xx2137613xx[^]

          ----------------------------- In just two days, tomorrow will be yesterday. http://geekswithblogs.net/sdorman

          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