Replaces one pane with another.
virtual void ReplacePane(
   CBasePane* pBarOrg,
   CBasePane* pBarReplaceWith
);
Parameters
- [in] pBarOrg 
 A pointer to the original pane.
- [in] pBarReplaceWith 
 A pointer to the pane that replaces the original pane.
Requirements
Header: afxpaneframewnd.h