Retrieves the child control that is located at the specified coordinates.
Syntax
Visual Basic (Declaration) |
|
Public Overloads Function GetChildAtPoint( _
ByVal pt As Point _
) As Control |
Visual Basic (Usage) |
Copy Code |
Dim instance As Chart
Dim pt As Point
Dim value As Control
value = instance.GetChildAtPoint(pt)
|
Parameters
- pt
- A Point 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
A
Control that represents the control that is located at the specified point.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also