术语 | windowfrompoint |
释义 | WindowFromPoint 语法: HWND WindowFromPoint( POINT Point ); WindowFromPoint函数 该WindowFromPoint函数检索的句柄窗口中包含指定点。 参数 点 [in]指定POINT结构,它定义了点进行检查。 返回值 返回值是一个窗口句柄包含点。如果没有窗口在给定的点存在,则返回值为NULL。如果点了一个静态文本控件,返回值是一个句柄在静态文本控件窗口。 备注 该WindowFromPoint函数不检索的句柄隐藏或禁用的窗口,即使在点窗口。应用程序应该使用一nonrestrictive搜索ChildWindowFromPoint功能。 例如 有关示例,请参阅“从运行大约文本对象模型对象表”界面。 功能信息 最低DLL版本 user32.dll 在Winuser.h中HeaderDeclared,头文件:winuser.h import libraryUser32.lib 最低操作系统Windows 95,Windows NT 3.1 UnicodeImplemented为Unicode版本。 参见 视窗概述,ChildWindowFromPoint,点,WindowFromDC ==英文原文==WindowFromPoint Function The WindowFromPoint function retrieves a handle to the window that contains the specified point. Syntax HWND WindowFromPoint( POINT Point ); Parameters Point [in] Specifies a POINT structure that defines the point to be checked. Return Value The return value is a handle to the window that contains the point. If no window exists at the given point, the return value is NULL. If the point is over a static text control, the return value is a handle to the window under the static text control. Remarks The WindowFromPoint function does not retrieve a handle to a hidden or disabled window, even if the point is within the window. An application should use the ChildWindowFromPoint function for a nonrestrictive search. Example For an example, see "Interface from Running Object Table" in About Text Object Model . 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 , ChildWindowFromPoint , POINT , WindowFromDC ==原始网址==http://msdn.microsoft.com/en-us/library/ms633558(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。