BCGControlBar Pro for MFC
virtual void CBCGPDockingControlBar::UnDockControlBar ( BOOL  bDelay = FALSE)
virtual

Undocks a control bar from the main frame window or from multiminiframe window container.

Call this member function when you need to undock a control bar from the main frame window or from multiminiframe window container (when a control bar is floating in a single mini-frame window with another control bar(s).

It's important to undock a control bar before any external operation that is not routed through docking manager. For example, you need to undock a control bar if you want to move a currently docked control bar programmatically from one location to another or reparent it.

Control bars are undocked by the framework before destruction.

Parameters
bDelayIf FALSE the docking layout is recalculated immediately.

Reimplemented from CBCGPControlBar.