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. back ground color of groupbox caption

back ground color of groupbox caption

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 5 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.
  • A Offline
    A Offline
    anilaabc
    wrote on last edited by
    #1

    i want to change background color of group box caption in OnCtrlColor method i can change color of caption of groupbox but i want to change background color of groupbox caption how is that possible?

    N 1 Reply Last reply
    0
    • A anilaabc

      i want to change background color of group box caption in OnCtrlColor method i can change color of caption of groupbox but i want to change background color of groupbox caption how is that possible?

      N Offline
      N Offline
      Naveen
      wrote on last edited by
      #2

      Call pDC->SetBkColor(); also OnCtrlColor() function should return the brush with that color.

      nave [OpenedFileFinder] [My Blog]

      S 1 Reply Last reply
      0
      • N Naveen

        Call pDC->SetBkColor(); also OnCtrlColor() function should return the brush with that color.

        nave [OpenedFileFinder] [My Blog]

        S Offline
        S Offline
        santhoshv84
        wrote on last edited by
        #3

        Hi, Use this link.. http://www.codeguru.com/cpp/controls/controls/groupbox/article.php/c5269[^]

        The price of anything is the amount of life you exchange for it. Thanks and Regards. SANTHOSH V

        H 1 Reply Last reply
        0
        • S santhoshv84

          Hi, Use this link.. http://www.codeguru.com/cpp/controls/controls/groupbox/article.php/c5269[^]

          The price of anything is the amount of life you exchange for it. Thanks and Regards. SANTHOSH V

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

          Who must be see this link? Naveen or anilaabc? :)

          T 1 Reply Last reply
          0
          • H Hamid Taebi

            Who must be see this link? Naveen or anilaabc? :)

            T Offline
            T Offline
            ThatsAlok
            wrote on last edited by
            #5

            Alok :-\

            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
            Never mind - my own stupidity is the source of every "problem" - Mixture

            cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>

            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