Attached you'll find a small project that tries to programmatically add and manipulate docking panels. So far everything works quite good, but it gets messy when the user changed the panels structure by mouse.
The key questions in this case are:
- How can i add a docking panel to any border (top, bottom, left, right) regardless of the current layout of the already shown panels?
- How can i determine on which border a panel is currently docked (if it's docked) regardless of the current layout of the panels?