网站首页  词典首页

请输入您要查询的函数:

 

术语 iswindowvisible
释义 IsWindowVisible
语法:
BOOL IsWindowVisible( HWND hWnd
);
IsWindowVisible函数
该IsWindowVisible函数检索指定的窗口可见的状态。
参数
hWnd
[in]的窗口句柄测试。
返回值
如果指定的窗口,它的父窗口,其母公司的父窗口,等等,有WS_VISIBLE风格,则返回值为非零。否则,返回值是零。
因为返回值指定窗口是否具有WS_VISIBLE风格,它可能为零,即使窗口是完全由其他窗口遮挡。
备注
窗口的能见度状态所指出的WS_VISIBLE样式位。当WS_VISIBLE设置,窗口显示和随后的绘图显示到它只要窗口具有WS_VISIBLE风格。
任何与WS_VISIBLE风格的窗口绘图将不会显示,如果窗口被遮住其他窗口,或是由它的父窗口剪辑。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
视窗概述,ShowWindow
==英文原文==IsWindowVisible Function
The IsWindowVisible function retrieves the visibility state of the specified window.
Syntax
BOOL IsWindowVisible( HWND hWnd
);
Parameters
hWnd
[in] Handle to the window to test.
Return Value
If the specified window, its parent window, its parent's parent window, and so forth, have the WS_VISIBLE style, the return value is nonzero. Otherwise, the return value is zero.
Because the return value specifies whether the window has the WS_VISIBLE style, it may be nonzero even if the window is totally obscured by other windows.
Remarks
The visibility state of a window is indicated by the WS_VISIBLE style bit. When WS_VISIBLE is set, the window is displayed and subsequent drawing into it is displayed as long as the window has the WS_VISIBLE style.
Any drawing to a window with the WS_VISIBLE style will not be displayed if the window is obscured by other windows or is clipped by its parent 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 , ShowWindow
==原始网址==http://msdn.microsoft.com/en-us/library/ms633530(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:26:31