BCGControlBar Pro for MFC
void CBCGPMDIFrameWnd::EnableTearOffMDIChildren ( BOOL  bEnable = TRUE,
CRuntimeClass *  pMDITearOffFrameRTI = NULL,
BOOL  bTearOffSharedMenu = FALSE 
)
inline

Enables or disables MDI tear-off frames support/

Parameters
bEnableSpecifies whether MDI tear-off frames are enabled (TRUE) or disabled (FALSE)
pMDITearOffFrameRTIMDI tear off frame runtime class. If this parameter is NULL, CBCGPMDIFrameWnd will be used. pMDITearOffFrameRTI should specify CBCGPMDIFrameWnd-derived class.
bTearOffSharedMenuSpecifies whether the menu of the torn-off MDI child frame is shared and shouldn't be destroyed upon the frame closing.