Share via


CBaseTabbedPane::DetachPane

Detaches a pane from the tabbed pane.

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

Parameters

  • [in] pBar
    Pointer to the pane to detach.

  • [in] bHide
    Boolean parameter that specifies whether the framework hides the pane after it is detached.

Return Value

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.

Remarks

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

Requirements

Header: afxbasetabbedpane.h

See Also

Reference

CBaseTabbedPane Class

Hierarchy Chart