CDockablePane::UndockPane

Undocks a pane from either the main frame window or a miniframe window container.

virtual void UndockPane(
    BOOL bDelay = FALSE
);

Parameters

  • [in] bDelay
    TRUE to delay calculating the docking layout; FALSE to recalculate the docking layout immediately.

Remarks

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.

Requirements

Header: afxDockablePane.h

See Also

Reference

CDockablePane Class

Hierarchy Chart