CDockState::Clear
Call this function to clear all docking information stored in the CDockState object.
void Clear( );
Remarks
This includes not only whether the bar is docked or not, but the bar's size and position and whether or not it is visible.
Requirements
Header: afxadv.h