MSDN的介绍:
ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.WIN32COM.v10.en/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/enumchildwindows.htm
BOOL EnumChildWindows(
HWND hWndParent, WNDENUMPROC lpEnumFunc, LPARAM lParam );
Parameters
hWndParent
- [in]
lpEnumFuncHandle 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: hWndParent cannot be NULL.
- [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.
对于在父窗口里的子窗口进行逐一列举,并对子窗口调用lpEnumFunc ,这里的lpEnumFunc(回调函数)需要自己去写。