网站首页  词典首页

请输入您要查询的函数:

 

术语 iswindow
释义 IsWindow
语法:
BOOL IsWindow( HWND hWnd
);
IsWindow函数
在确定是否IsWindow函数指定的窗口句柄标识一个已有的窗口。
参数
hWnd
[in]的窗口句柄测试。
返回值
如果窗口句柄标识一个已有的窗口,则返回值为非零。
如果窗口句柄不找出一个已有的窗口,返回值是零。
备注
线程不应该使用一个窗口IsWindow,它没有建立,因为窗口可能因此被摧毁后,这项功能被称为。此外,由于窗口句柄被回收的处理甚至可以指向一个不同的窗口。
例如
有关示例,请参见创建无模式对话框。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
视窗概述,IsWindowEnabled,IsWindowVisible
==英文原文==IsWindow Function
The IsWindow function determines whether the specified window handle identifies an existing window.
Syntax
BOOL IsWindow( HWND hWnd
);
Parameters
hWnd
[in] Handle to the window to test.
Return Value
If the window handle identifies an existing window, the return value is nonzero.
If the window handle does not identify an existing window, the return value is zero.
Remarks
A thread should not use IsWindow for a window that it did not create because the window could be destroyed after this function was called. Further, because window handles are recycled the handle could even point to a different window.
Example
For an example, see Creating a Modeless Dialog Box .
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 , IsWindowEnabled , IsWindowVisible
==原始网址==http://msdn.microsoft.com/en-us/library/ms633528(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:32:14