术语 | showwindowasync |
释义 | ShowWindowAsync 语法: BOOL ShowWindowAsync( HWND hWnd, int nCmdShow ); ShowWindowAsync功能 该ShowWindowAsync函数设置一个不同的线程创建的一个窗口显示状态。 参数 hWnd [in]的窗口句柄。 nCmdShow [in]指定窗口如何才能显现。对于可能的值的列表,看到ShowWindow函数描述。 返回值 如果窗口以前可见,则返回值为非零。 如果窗口是以前隐藏的,返回值是零。 备注 这个函数的岗位上展示窗口事件给定窗口消息队列。应用程序可以使用此功能,以避免成为无反应,同时又为等待无响应的应用程序完成处理表演窗口事件。 功能信息 最低DLL版本 user32.dll 在Winuser.h中HeaderDeclared,头文件:winuser.h import libraryUser32.lib 最低操作系统Windows 95,Windows NT 4.0 UnicodeImplemented为Unicode版本。 参见 视窗概述,ShowWindow ==英文原文==ShowWindowAsync Function The ShowWindowAsync function sets the show state of a window created by a different thread. Syntax BOOL ShowWindowAsync( HWND hWnd, int nCmdShow ); Parameters hWnd [in] Handle to the window. nCmdShow [in] Specifies how the window is to be shown. For a list of possible values, see the description of the ShowWindow function. Return Value If the window was previously visible, the return value is nonzero. If the window was previously hidden, the return value is zero. Remarks This function posts a show-window event to the message queue of the given window. An application can use this function to avoid becoming nonresponsive while waiting for a nonresponsive application to finish processing a show-window event. Function Information Minimum DLL Versionuser32.dll HeaderDeclared in Winuser.h, include Windows.h Import libraryUser32.lib Minimum operating systemsWindows 95, Windows NT 4.0 UnicodeImplemented as Unicode version. See Also Windows Overview , ShowWindow ==原始网址==http://msdn.microsoft.com/en-us/library/ms633549(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。