Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.getChildAtPoint

Retrieves the child control that is located at the specified coordinates.

Syntax

public final Control getChildAtPoint( Point pt )

Parameters

pt

A Point object that contains the coordinates where you want to look for a control. Coordinates are expressed relative to the upper-left corner of the control's client area.

Return Value

Returns a Control object that represents the control that contains the specified point. If there is no control at the specified point other than this control, returns null.