CDockingManager::ReplacePane

Replaces one pane with another.

BOOL ReplacePane(
   CDockablePane* pOriginalBar,
   CDockablePane* pNewBar
);

Parameters

  • [in] pOriginalBar
    A pointer to the original pane.

  • [in] pNewBar
    A pointer to the pane that replaces the original pane.

Return Value

TRUE if the pane is successfully replaced; FALSE otherwise.

Requirements

Header: afxdockingmanager.h

See Also

Reference

CDockingManager Class

Hierarchy Chart