CWnd::GetWindowedChildCount
Call this member function to retrieve the number of associated child windows.
long GetWindowedChildCount( );
Возвращаемое значение
The number of child windows associated with the CWnd object.
Требования
Header: afxwin.h