术语 | realchildwindowfrompoint |
释义 | RealChildWindowFromPoint 语法: HWND RealChildWindowFromPoint( HWND hwndParent, POINT ptParentClientCoords ); RealChildWindowFromPoint功能 该RealChildWindowFromPoint句柄函数检索在指定点的子窗口。搜索是限于直接子窗口;孙子和更深的子窗口都不会搜索。 参数 hwndParent [in]句柄窗口的孩子要检索。 ptParentClientCoords [in]指定POINT结构,它定义了客户端坐标,检查了这一点。 返回值 返回值是一个句柄到子窗口中包含指定点。 备注 RealChildWindowFromPoint对待一个标准的控制HTTRANSPARENT来自不同地区的控制的其他地区,它返回的背后控制的透明部分的子窗口。相反,ChildWindowFromPoint对待一个控制HTTRANSPARENT地区的其他领域一样。例如,如果该点的一个GroupBox的透明面积,RealChildWindowFromPoint返回后面GroupBox的子窗口,而ChildWindowFromPoint返回GroupBox的。但是,这两个API返回一个静态的领域,尽管它也返回HTTRANSPARENT。 功能信息 最低DLL版本 user32.dll 在Winuser.h中HeaderDeclared,头文件:winuser.h import libraryUser32.lib 最低经营systemsWindows 98时,Windows NT 4.0 SP4中 参见 视窗概述,ChildWindowFromPoint,点 ==英文原文==RealChildWindowFromPoint Function The RealChildWindowFromPoint function retrieves a handle to the child window at the specified point. The search is restricted to immediate child windows; grandchildren and deeper descendant windows are not searched. Syntax HWND RealChildWindowFromPoint( HWND hwndParent, POINT ptParentClientCoords ); Parameters hwndParent [in] Handle to the window whose child is to be retrieved. ptParentClientCoords [in] Specifies a POINT structure that defines the client coordinates of the point to be checked. Return Value The return value is a handle to the child window that contains the specified point. Remarks RealChildWindowFromPoint treats HTTRANSPARENT areas of a standard control differently from other areas of the control; it returns the child window behind a transparent part of a control. In contrast, ChildWindowFromPoint treats HTTRANSPARENT areas of a control the same as other areas. For example, if the point is in a transparent area of a groupbox, RealChildWindowFromPoint returns the child window behind a groupbox, whereas ChildWindowFromPoint returns the groupbox. However, both APIs return a static field, even though it, too, returns HTTRANSPARENT. Function Information Minimum DLL Versionuser32.dll HeaderDeclared in Winuser.h, include Windows.h Import libraryUser32.lib Minimum operating systemsWindows 98, Windows NT 4.0 SP4 See Also Windows Overview , ChildWindowFromPoint , POINT ==原始网址==http://msdn.microsoft.com/en-us/library/ms633537(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。