网站首页  词典首页

请输入您要查询的函数:

 

术语 childwindowfrompointex
释义 ChildWindowFromPointEx
语法:
HWND ChildWindowFromPointEx( HWND hwndParent,
POINT pt,
UINT uFlags
);
ChildWindowFromPointEx功能
该ChildWindowFromPointEx函数确定,如果任何儿童属于指定父窗口的窗口,包含指定的点。该函数可以忽略不可见的,残疾人和透明的子窗口。在搜索限制的直接子窗口。孙子和更深的后代都不会搜索。
参数
hwndParent
[in]句柄父窗口。

[in]指定POINT结构定义客户端坐标(相对于hwndParent的点)进行检查。
uFlags
[in]指定的子窗口跳过。此参数可以是一个或多个下列值。
CWP_ALL
不跳过任何子窗口
CWP_SKIPINVISIBLE
跳过无形的子窗口
CWP_SKIPDISABLED
跳过残疾儿童窗口
CWP_SKIPTRANSPARENT
跳过透明子窗口
返回值
返回值是一个句柄第一个子窗口中包含的意见,并满足了uFlags规定的标准。如果该点在父窗口,但在任何子窗口不符合标准的返回值是一个句柄父窗口。如果该点位于外父窗口,或者如果函数失败,返回值为NULL。
备注
该系统设有一个内部列表,其中包含了处理与父窗口相关的子窗口。在列表中的处理顺序取决于儿童的窗口Z序。如果有一个以上的子窗口包含指定的点,系统返回的句柄列表中包含点,满足了uFlags规定的标准的第一个窗口。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 4.0
UnicodeImplemented为Unicode版本。
参见
视窗概述,点,WindowFromPoint
==英文原文==ChildWindowFromPointEx Function
The ChildWindowFromPointEx function determines which, if any, of the child windows belonging to the specified parent window contains the specified point. The function can ignore invisible, disabled, and transparent child windows. The search is restricted to immediate child windows. Grandchildren and deeper descendants are not searched.
Syntax
HWND ChildWindowFromPointEx( HWND hwndParent,
POINT pt,
UINT uFlags
);
Parameters
hwndParent
[in] Handle to the parent window.
pt
[in] Specifies a POINT structure that defines the client coordinates (relative to hwndParent) of the point to be checked.
uFlags
[in] Specifies which child windows to skip. This parameter can be one or more of the following values.
CWP_ALL
Does not skip any child windows
CWP_SKIPINVISIBLE
Skips invisible child windows
CWP_SKIPDISABLED
Skips disabled child windows
CWP_SKIPTRANSPARENT
Skips transparent child windows
Return Value
The return value is a handle to the first child window that contains the point and meets the criteria specified by uFlags. If the point is within the parent window but not within any child window that meets the criteria, the return value is a handle to the parent window. If the point lies outside the parent window or if the function fails, the return value is NULL.
Remarks
The system maintains an internal list that contains the handles of the child windows associated with a parent window. The order of the handles in the list depends on the Z order of the child windows. If more than one child window contains the specified point, the system returns a handle to the first window in the list that contains the point and meets the criteria specified by uFlags.
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 , POINT , WindowFromPoint
==原始网址==http://msdn.microsoft.com/en-us/library/ms632677(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:23:15