Delen via


CBaseTabbedPane::RemovePane

Removes a pane from the tabbed pane.

virtual BOOL RemovePane(
    CWnd* pBar
);

Parameters

  • [in] [out] pBar
    A pointer to the pane to remove from the tabbed pane.

Return Value

TRUE if the pane was successfully removed from the tabbed pane and if the tabbed pane is still valid. FALSE if the last pane has been removed from the tabbed pane and the tabbed pane is about to be destroyed. If the return value is FALSE, do not use the tabbed pane any more.

Remarks

Call this method to remove the pane specified by the pBar parameter from the tabbed pane.

Requirements

Header: afxBaseTabbedPane.h

See Also

Reference

CBaseTabbedPane Class

Hierarchy Chart