CDockingManager::IsOLEContainerMode
Specifies whether the docking manager is in OLE container mode.
BOOL IsOLEContainerMode() const;
Return Value
TRUE if the docking manager is in OLE container mode; otherwise, FALSE.
Remarks
In OLE container mode, all docking panes and application toolbars are hidden. The panes are also hidden in this mode if you have set CDockingManager::m_bHideDockingBarsInContainerMode to TRUE.
Requirements
Header: afxDockingManager.h