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