术语 | enumchildwindows |
释义 | EnumChildWindows 语法: BOOL EnumChildWindows( HWND hWndParent, WNDENUMPROC lpEnumFunc, LPARAM lParam ); EnumChildWindows函数 该EnumChildWindows枚举函数,属于子窗口的句柄传递给每个子窗口反过来,到指定的父窗口,一个应用程序定义的回调函数。 EnumChildWindows枚举或继续回调函数返回FALSE,直到最后一个子窗口。 参数 hWndParent [in]句柄父窗口的子窗口要枚举。如果该参数为NULL,这个函数相当于EnumWindows。 在Windows 95/98/Me:hWndParent不能是NULL。 lpEnumFunc [in]指向一个应用程序定义的回调函数。有关更多信息,请参阅EnumChildProc。 lparam的 [in]指定一个应用程序定义的值传递给回调函数。 返回值 未使用。 备注 如果一个子窗口,造就了自己的子窗口,这些窗口EnumChildWindows枚举也。 孩子的窗口被移动或重新定位在枚举过程中的Z顺序会得到妥善枚举。 The function does not enumerate a child window that is destroyed before being enumerated or that is created during the enumeration process. 例如 举一个例子看到摧毁一个窗口。 功能信息 最低DLL版本 user32.dll 在Winuser.h中HeaderDeclared,头文件:winuser.h import libraryUser32.lib 最低操作系统Windows 95,Windows NT 3.1 UnicodeImplemented为Unicode版本。 参见 视窗概述,EnumChildProc,EnumThreadWindows,EnumWindows,GetWindow ==英文原文==EnumChildWindows Function The EnumChildWindows function enumerates the child windows that belong to the specified parent window by passing the handle to each child window, in turn, to an application-defined callback function. EnumChildWindows continues until the last child window is enumerated or the callback function returns FALSE. Syntax 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: hWndParent cannot 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. Return Value Not used. Remarks If a child window has created child windows of its own, EnumChildWindows enumerates those windows as well. A child window that is moved or repositioned in the Z order during the enumeration process will be properly enumerated. The function does not enumerate a child window that is destroyed before being enumerated or that is created during the enumeration process. Example For an example see Destroying a Window . Function Information Minimum DLL Versionuser32.dll HeaderDeclared in Winuser.h, include Windows.h Import libraryUser32.lib Minimum operating systemsWindows 95, Windows NT 3.1 UnicodeImplemented as Unicode version. See Also Windows Overview , EnumChildProc , EnumThreadWindows , EnumWindows , GetWindow ==原始网址==http://msdn.microsoft.com/en-us/library/ms633494(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。