Partager via


CBasePane::RemovePaneFromDockManager

Unregisters a pane and removes it from the list in the docking manager.

void RemovePaneFromDockManager(
   CBasePane* pBar,
   BOOL bDestroy = TRUE,
   BOOL bAdjustLayout = FALSE,
   BOOL bAutoHide = FALSE,
   CBasePane* pBarReplacement = NULL
);

Parameters

  • [in] pBar
    A pointer to a pane to be removed.

  • [in] bDestroy
    If TRUE, the removed pane is destroyed.

  • [in] bAdjustLayout
    If TRUE, adjust the docking layout immediately.

  • [in] bAutoHide
    If TRUE, the docking layout is related to the list of autohide bars. If FALSE, the docking layout is related to the list of regular panes.

  • [in] pBarReplacement
    A pointer to a pane that replaces the removed pane.

Requirements

Header: afxbasepane.h

See Also

Reference

CBasePane Class

Hierarchy Chart