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:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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: callback.ShellBoost.Core.WindowsShellPOINT
defines the client coordinates (relative to hwndParent) of the point to be checked.
flags (Optional)
Type: callback.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