网站首页  词典首页

请输入您要查询的函数:

 

术语 showownedpopups
释义 ShowOwnedPopups
语法:
BOOL ShowOwnedPopups( HWND hWnd,
BOOL fShow
);
ShowOwnedPopups功能
该ShowOwnedPopups函数显示或隐藏所有弹出窗口所指定的所有窗口。
参数
hWnd
[in]的窗口句柄拥有该弹出窗口显示或隐藏。
fShow
[in]指定是否弹出窗口要显示或隐藏。如果此参数为true,所有隐藏的弹出窗口显示。如果此参数为FALSE,所有可见的弹出窗口是隐藏的。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
ShowOwnedPopups显示了以前调用ShowOwnedPopups隐藏的唯一窗口。例如,如果一个弹出窗口被隐藏利用ShowWindow函数,随后调用设置为TRUE fShow参数ShowOwnedPopups不会导致窗口显示。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
视窗概述,IsWindowVisible,ShowWindow
==英文原文==ShowOwnedPopups Function
The ShowOwnedPopups function shows or hides all pop-up windows owned by the specified window.
Syntax
BOOL ShowOwnedPopups( HWND hWnd,
BOOL fShow
);
Parameters
hWnd
[in] Handle to the window that owns the pop-up windows to be shown or hidden.
fShow
[in] Specifies whether pop-up windows are to be shown or hidden. If this parameter is TRUE, all hidden pop-up windows are shown. If this parameter is FALSE, all visible pop-up windows are hidden.
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
ShowOwnedPopups shows only windows hidden by a previous call to ShowOwnedPopups. For example, if a pop-up window is hidden by using the ShowWindow function, subsequently calling ShowOwnedPopups with the fShow parameter set to TRUE does not cause the window to be shown.
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 , IsWindowVisible , ShowWindow
==原始网址==http://msdn.microsoft.com/en-us/library/ms633547(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:29:51