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 change the color of Title bar ?

How to change the color of Title bar ?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
4 Posts 4 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.
  • S Offline
    S Offline
    Sameerkumar Namdeo
    wrote on last edited by
    #1

    any idea on how can the normally blue color of title bars can be changed.

    H H 2 Replies Last reply
    0
    • S Sameerkumar Namdeo

      any idea on how can the normally blue color of title bars can be changed.

      H Offline
      H Offline
      Hans Dietrich
      wrote on last edited by
      #2

      Use SetSysColors() with COLOR_GRADIENTACTIVECAPTION and COLOR_ACTIVECAPTION.

      Best wishes, Hans


      [CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]

      _ 1 Reply Last reply
      0
      • S Sameerkumar Namdeo

        any idea on how can the normally blue color of title bars can be changed.

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        See customized Skinned Caption for mdi [^] does helpful?


        WhiteSky


        1 Reply Last reply
        0
        • H Hans Dietrich

          Use SetSysColors() with COLOR_GRADIENTACTIVECAPTION and COLOR_ACTIVECAPTION.

          Best wishes, Hans


          [CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]

          _ Offline
          _ Offline
          _AnsHUMAN_
          wrote on last edited by
          #4

          Won't the use of SetSysColor() set the color of the title bars across the OS? If affirmative, this doesn't seem to be a good idea.

          Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

          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