BCGControlBar Pro for MFC
int CBCGPMDIFrameWnd::GetMDIChildren ( CList< CBCGPMDIChildWnd *, CBCGPMDIChildWnd * > &  lstChildren,
BOOL  bIncludeDetached = TRUE 
) const

Retrieves a list of the MDI child windows.

Parameters
lstChildrenReceives the MDI child windows list.
bIncludeDetachedSpecifies whether the result list should include the torn-off (detached) MDI windows.
Returns
Returns the number of MDI child windows.