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. Changing the height of a CstatusBar

Changing the height of a CstatusBar

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 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
    Stan the man
    wrote on last edited by
    #1

    Hi. Just curious if anyone knows an easy way to change the height of a CStatusBar? Thanks in advance. Stan the Man

    I 1 Reply Last reply
    0
    • S Stan the man

      Hi. Just curious if anyone knows an easy way to change the height of a CStatusBar? Thanks in advance. Stan the Man

      I Offline
      I Offline
      Iain Clarke Warrior Programmer
      wrote on last edited by
      #2

      Stan the man wrote:

      an easy way

      Move your chair closer? I haven't tried the following, but if you use CStatusBar::GetStatusCtrl, you can then use CStatusCtrl::SetMinHeight, which sounds like it should help. The msdn example for it has it being used in the OnCreate method of it's parent, which is before everything gets finally positioned, so probably a good time. Iain.

      Iain Clarke appearing in spite of being begged not to by CPallini.

      S 1 Reply Last reply
      0
      • I Iain Clarke Warrior Programmer

        Stan the man wrote:

        an easy way

        Move your chair closer? I haven't tried the following, but if you use CStatusBar::GetStatusCtrl, you can then use CStatusCtrl::SetMinHeight, which sounds like it should help. The msdn example for it has it being used in the OnCreate method of it's parent, which is before everything gets finally positioned, so probably a good time. Iain.

        Iain Clarke appearing in spite of being begged not to by CPallini.

        S Offline
        S Offline
        Stan the man
        wrote on last edited by
        #3

        Hi Iain. That did it. Thanks. Stan the man

        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