This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.
BOOL ReplacePane(
   CDockablePane* pBarToReplaceWith,
   AFX_DOCK_METHOD dockMethod,
   BOOL bRegisterWithFrame = FALSE
);
Parameters
- [in] pBarToReplaceWith 
 
- [in] dockMethod 
 
- [in] bRegisterWithFrame 
 
Requirements
Header: afxdockablepane.h