Undocks a pane from either the main frame window or a miniframe window container.
Call this method to undock a pane from the main frame window or from a multi-miniframe window container (a pane that is floating in a single miniframe window with other panes).
You must undock a pane before you perform any external operation that is not performed by the CDockingManager. For example, you must undock a pane to move it programmatically from one location to another.
The framework automatically undocks panes before they are destroyed.