Returns the control that is currently associated with the specified handle.
Public Shared Function FromHandle ( _ handle As IntPtr _ ) As Control
public static Control FromHandle( IntPtr handle )
public: static Control^ FromHandle( IntPtr handle )
static member FromHandle : handle:IntPtr -> Control
Use the FromChildHandle method if you need to return controls that own more than one handle.
for all windows to call this method. Associated enumeration: AllWindows value of UIPermissionWindow.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2