How to make flap collapse on minimize?

Beni:

I bet there is a feature of docking-frames that makes
FlapDockStation / CMinimizeArea behave like this:

currently:
when you drag/minimize a there a dockable, it gets resized but stays expanded;

instead:
how can I make it collapse just to “title view”, without actual main panel still open;

thank you;

Andrei

The dockable should close as soon as it lost focus (unless you pressed the little “stay open” button on the title). It has the focus because you dragged it. Adding a “CDockableStateListener” to the Dockables (or the CControl) and focus some other Dockable once the “minimized” method is called, should help.

There is no property to change the behavior, that’s perhaps something for the todo list as well.