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. About dialog bar that supports a drop-down for extra controls in it

About dialog bar that supports a drop-down for extra controls in it

Scheduled Pinned Locked Moved C / C++ / MFC
c++algorithmsjson
3 Posts 2 Posters 3 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.
  • N Offline
    N Offline
    Nishad S
    wrote on last edited by
    #1

    Hi, My intention is to find the best possible method for my requirement. Please share your ideas. Requirement: I need to create a dialog bar (I think so) in which I have to place controls (including some custom controls) dynamically. The controls can be placed in one row or more according to a dynamic setting. If there is not enough space to hold all the controls, a drop down button should be there at the right side of the dialog bar. When that button is pressed, the remaining controls should be listed as a popup. The dialog bar need to be dock-able too. My plan: Searching for direct support in MFC/Win32. If there is no such support, I am planning to create a custom dialog bar (or derive from CDialogBar) and implement the rest. Thank you.

    - ns ami -

    N 1 Reply Last reply
    0
    • N Nishad S

      Hi, My intention is to find the best possible method for my requirement. Please share your ideas. Requirement: I need to create a dialog bar (I think so) in which I have to place controls (including some custom controls) dynamically. The controls can be placed in one row or more according to a dynamic setting. If there is not enough space to hold all the controls, a drop down button should be there at the right side of the dialog bar. When that button is pressed, the remaining controls should be listed as a popup. The dialog bar need to be dock-able too. My plan: Searching for direct support in MFC/Win32. If there is no such support, I am planning to create a custom dialog bar (or derive from CDialogBar) and implement the rest. Thank you.

      - ns ami -

      N Offline
      N Offline
      Niklas L
      wrote on last edited by
      #2

      Sounds like the ordinary toolbar control would help you there. You can replace buttons with custom controls, and add chevron style for the items that doesn't fit. There are plenty of articles here on CP for that.

      home

      N 1 Reply Last reply
      0
      • N Niklas L

        Sounds like the ordinary toolbar control would help you there. You can replace buttons with custom controls, and add chevron style for the items that doesn't fit. There are plenty of articles here on CP for that.

        home

        N Offline
        N Offline
        Nishad S
        wrote on last edited by
        #3

        Thank you for the reply. Now, I think it is better if we dynamically manage dialog bar controls than going for chevron feature. Also chevron is from rebar control, which does not support docking.

        - ns ami -

        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