术语 | getnextwindow |
释义 | GetNextWindow 语法: HWND GetNextWindow( HWND hWnd, UINT wCmd ); GetNextWindow函数 该GetNextWindow函数检索的句柄,在Z的下一个或前一个窗口,订购。在下一个窗口低于指定的窗口,前一个窗口以上。如果指定的窗口是一个最顶层窗口的句柄函数检索到下一个(或前)最顶层窗口。如果指定窗口是顶层窗口的句柄函数检索到下一个(或上)的顶层窗口。如果指定的窗口是一个子窗口,一个句柄函数搜索下(或上)子窗口。 参数 hWnd [in]一个窗口句柄。检索窗口句柄是相对于这个窗口,根据参数值的风修正子母炸弹。 风修正子母炸弹 [in]指定是否函数返回的句柄一个窗口或前一个窗口。此参数可以是以下值。 GW_HWNDNEXT 返回的句柄,下面给定的窗口。 GW_HWNDPREV 返回的句柄上述给定的窗口。 返回值 如果函数成功,返回值是一个句柄到下一个(或上)窗口。如果没有下一个(或上)窗口,返回值为NULL。为了获得更多错误信息,调用GetLastError。 备注 使用此功能是为调用与GW_HWNDNEXT或GW_HWNDPREV旗GetWindow函数相同。 功能信息 最低DLL版本 user32.dll 在Winuser.h中HeaderDeclared,头文件:winuser.h import libraryUser32.lib 最低操作系统Windows 95,Windows NT 3.1 参见 视窗概述,GetTopWindow,GetWindow ==英文原文==GetNextWindow Function The GetNextWindow function retrieves a handle to the next or previous window in the Z-Order . The next window is below the specified window; the previous window is above. If the specified window is a topmost window, the function retrieves a handle to the next (or previous) topmost window. If the specified window is a top-level window, the function retrieves a handle to the next (or previous) top-level window. If the specified window is a child window, the function searches for a handle to the next (or previous) child window. Syntax HWND GetNextWindow( HWND hWnd, UINT wCmd ); Parameters hWnd [in] Handle to a window. The window handle retrieved is relative to this window, based on the value of the wCmd parameter. wCmd [in] Specifies whether the function returns a handle to the next window or of the previous window. This parameter can be either of the following values. GW_HWNDNEXT Returns a handle to the window below the given window. GW_HWNDPREV Returns a handle to the window above the given window. Return Value If the function succeeds, the return value is a handle to the next (or previous) window. If there is no next (or previous) window, the return value is NULL. To get extended error information, call GetLastError . Remarks Using this function is the same as calling the GetWindow function with the GW_HWNDNEXT or GW_HWNDPREV flag set. Function Information Minimum DLL Versionuser32.dll HeaderDeclared in Winuser.h, include Windows.h Import libraryUser32.lib Minimum operating systemsWindows 95, Windows NT 3.1 See Also Windows Overview , GetTopWindow , GetWindow ==原始网址==http://msdn.microsoft.com/en-us/library/ms633509(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。