Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


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

© 2015 Microsoft