mfc Dockable control bars (panes)


Almost all MFC applications have toolbar and status bar - special types of the control bar that docked to top and bottom part of application main frame. But often application logic requires more the information bars docked to some side of frame, for example it may be properties bar or classes bar, preview bar, output bar and many others. Classic MFC have good solution only for toolbars and others controls that not dynamically resizable. But MFC Feature Pack have advanced docking manager that allows:

  • Dynamically resize docked bars.
  • Redocking to any frame sides with live preview.
  • Serialize state and position of docked bars in registry.
  • Docking bars to same frame side and collecting them to the tabbed pane.

All you need is to inherit your docking bar from CDockablePane class.