Retrieves the child control that is located at the specified coordinates.
Public Function GetChildAtPoint ( _ pt As Point _ ) As Control
Dim instance As Control Dim pt As Point Dim returnValue As Control returnValue = instance.GetChildAtPoint(pt)
public Control GetChildAtPoint( Point pt )
public: Control^ GetChildAtPoint( Point pt )
public function GetChildAtPoint( pt : Point ) : Control
If there is no child control at the specified point, the GetChildAtPoint method returns nullNothingnullptra null reference (Nothing in Visual Basic).
for all windows to call this method if the control returned is not a child of the control. Associated enumeration: AllWindows value of UIPermissionWindow.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98