Click or drag to resize

WindowsUtilitiesChildWindowFromPoint Method

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.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static IntPtr ChildWindowFromPoint(
	IntPtr handle,
	POINT point,
	CWP flags = CWP.CWP_ALL
)

Parameters

handle
Type: SystemIntPtr
A handle to the parent window.
point
Type: ShellBoost.Core.WindowsShellPOINT
defines the client coordinates (relative to hwndParent) of the point to be checked.
flags (Optional)
Type: ShellBoost.Core.UtilitiesCWP
Optional flags.

Return Value

Type: IntPtr
A handle to the first child window that contains the point and meets the criteria specified by flags.
See Also