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. CStatusbar and Menubar Background color change

CStatusbar and Menubar Background color change

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
5 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.
  • S Offline
    S Offline
    shiv nand
    wrote on last edited by
    #1

    Hi In VC++ 2005 i am working in SDI applications 1) How to change the whole background color of CStatusbar including all panes.also 2)How to change background color of a Menubar.

    _ 1 Reply Last reply
    0
    • S shiv nand

      Hi In VC++ 2005 i am working in SDI applications 1) How to change the whole background color of CStatusbar including all panes.also 2)How to change background color of a Menubar.

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

      You will have to owner draw it. For ex: For the status bar you can do something like: m_statusBar.SendMessage (/*setback color msg/*, 0 , (LPARAM)RGB (128,128,128)) ;

      You talk about Being HUMAN. I have it in my name AnsHUMAN

      S 1 Reply Last reply
      0
      • _ _AnsHUMAN_

        You will have to owner draw it. For ex: For the status bar you can do something like: m_statusBar.SendMessage (/*setback color msg/*, 0 , (LPARAM)RGB (128,128,128)) ;

        You talk about Being HUMAN. I have it in my name AnsHUMAN

        S Offline
        S Offline
        shiv nand
        wrote on last edited by
        #3

        hi can you give the example.

        _ 1 Reply Last reply
        0
        • S shiv nand

          hi can you give the example.

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

          Here[^]. here[^] Also, you can find many other examples relating to owner drawn controls

          You talk about Being HUMAN. I have it in my name AnsHUMAN

          S 1 Reply Last reply
          0
          • _ _AnsHUMAN_

            Here[^]. here[^] Also, you can find many other examples relating to owner drawn controls

            You talk about Being HUMAN. I have it in my name AnsHUMAN

            S Offline
            S Offline
            shiv nand
            wrote on last edited by
            #5

            Thank You

            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