CBaseTabbedPane::DetachPane

Detaches a pane from the tabbed pane.

virtual BOOL DetachPane(
   CWnd* pBar,
   BOOL bHide = FALSE
);

[in] pBar

Pointer to the pane to detach.

[in] bHide

Boolean parameter that specifies whether the framework hides the pane after it is detached.

TRUE if the framework successfully detaches the pane; FALSE if pBar is NULL or refers to a pane that is not in the tabbed pane.

The framework floats the detached pane if possible. For more information, see CBasePane::CanFloat.

Header: afxbasetabbedpane.h

Show: