BCGControlBar Pro for MFC
int CBCGPMDIFrameWnd::ReattachTearOffWindows ( )

Reattach all torn-off MDI child frames back to the main application frame.