BCGControlBar Pro for MFC
BOOL CBCGPDockManager::IsOLEContainerMode ( ) const
inline

Tells whether the docking manager is working in OLE container mode.

Returns
TRUE if the docking manager is working in OLE container mode, otherwise FALSE.

Use this function to determine whether the docking manager is working in OLE container mode. In this mode all dock bars and application toolbars are hidden. The control bars in this mode are hidden as well if you've set m_bHideDockingBarsInContainerMode to TRUE.