Retrieves the window associated with the specified handle.
[Visual Basic] Public Shared Function FromHandle( _ ByVal handle As Integer _ ) As NativeWindow [C#] public static NativeWindow FromHandle( int handle ); [C++] public: static NativeWindow* FromHandle( int handle ); [JScript] public static function FromHandle( handle : int ) : NativeWindow;
The NativeWindow associated with the specified handle. This method returns a null reference (in Visual Basic Nothing) when the handle does not have an associated window.
If you received a handle from another method, use this method to retrieve the window associated with the handle.
NativeWindow Class | NativeWindow Members | System.WinForms Namespace | NativeWindow | Handle | AssignHandle | CreateHandle | DestroyHandle | ReleaseHandle | WndProc