Msdn introduction:
MS-help: // Ms. msdnqtr. v80.en/ms. msdn. v80/ms. win32com. v10.en/winui/windowsuserinterface/Wing/Windows/windowreference/windowfunctions/enumchildwindows.htm
BOOL EnumChildWindows(
HWND hWndParent, WNDENUMPROC lpEnumFunc, LPARAM lParam);
Parameters
-
Hwndparent
-
[In]
Handle to the parent window whose child windows are to be enumerated. If this parameter is null, this function is equivalent to enumwindows.
Windows 95/98/me: HwndparentCannot be null.
-
Lpenumfunc
-
[In] pointer to an application-defined callback function. For more information, see enumchildproc.
-
Lparam
-
[In] specifies an application-defined value to be passed to the callback function.
The child windows in the parent window are listed one by one and the child windows are called lpenumfunc. Here, the lpenumfunc (callback function) needs to be written by yourself.