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 trick?

CStatusBar trick?

Scheduled Pinned Locked Moved C / C++ / MFC
questioncom
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.
  • F Offline
    F Offline
    Fredrik Skog
    wrote on last edited by
    #1

    I've got an SDI app with the usual status bar. But I've also added another status bar, which is placed above the ordinary one. The second one also has the "size grip" in the bottom right corner to resize it with. How do I get rid of this resizing feature? I do not want the user to resize the status bar. Cheers,
    /Fredrik

    Sonork ID: 100.11430:PhatBoy

    L 1 Reply Last reply
    0
    • F Fredrik Skog

      I've got an SDI app with the usual status bar. But I've also added another status bar, which is placed above the ordinary one. The second one also has the "size grip" in the bottom right corner to resize it with. How do I get rid of this resizing feature? I do not want the user to resize the status bar. Cheers,
      /Fredrik

      Sonork ID: 100.11430:PhatBoy

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      take a look at CBRS_SIZE_DYNAMIC and CBRS_SIZE_FIXED when you create the second status bar. You might need to take care to give it an unique ID too, but probably only if you are using LoadBarState().

      F 1 Reply Last reply
      0
      • L Lost User

        take a look at CBRS_SIZE_DYNAMIC and CBRS_SIZE_FIXED when you create the second status bar. You might need to take care to give it an unique ID too, but probably only if you are using LoadBarState().

        F Offline
        F Offline
        Fredrik Skog
        wrote on last edited by
        #3

        mcsellski wrote: take a look at CBRS_SIZE_DYNAMIC and CBRS_SIZE_FIXED when you create the second status bar. But then it does not display at all? Cheers,
        /Fredrik

        Sonork ID: 100.11430:PhatBoy

        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