术语 | bringwindowtotop |
释义 | BringWindowToTop 语法: BOOL BringWindowToTop( HWND hWnd ); BringWindowToTop函数 带来的BringWindowToTop函数指定窗口的Z序的顶部。如果窗口是顶层窗口,它被激活。如果在窗口是子窗口的顶级父窗口与子窗口被激活有关。 参数 hWnd [in]句柄窗口提请最高的Z顺序。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。 备注 使用BringWindowToTop函数发现任何窗口,是部分或完全被其他窗口遮挡。 调用此功能类似于调用SetWindowPos函数来改变窗口的Z顺序中的位置。 BringWindowToTop不会使一个窗口顶层窗口。 功能信息 最低DLL版本 user32.dll 在Winuser.h中HeaderDeclared,头文件:winuser.h import libraryUser32.lib 最低操作系统Windows 95,Windows NT 3.1 UnicodeImplemented为Unicode版本。 参见 视窗概述,SetWindowPos ==英文原文==BringWindowToTop Function The BringWindowToTop function brings the specified window to the top of the Z order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated. Syntax BOOL BringWindowToTop( HWND hWnd ); Parameters hWnd [in] Handle to the window to bring to the top of the Z order. Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError . Remarks Use the BringWindowToTop function to uncover any window that is partially or completely obscured by other windows. Calling this function is similar to calling the SetWindowPos function to change a window's position in the Z order. BringWindowToTop does not make a window a top-level 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 , SetWindowPos ==原始网址==http://msdn.microsoft.com/en-us/library/ms632673(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。