Destroys the handle associated with this window.
[Visual Basic] Overridable Public Sub DestroyHandle() [C#] public virtual void DestroyHandle(); [C++] public: virtual void DestroyHandle(); [JScript] public function DestroyHandle();
This method sets the Handle property to zero, and calls the OnHandleChange method to reflect the change.
NativeWindow Class | NativeWindow Members | System.WinForms Namespace | NativeWindow | Handle | AssignHandle | CreateHandle | ReleaseHandle | WndProc | OnHandleChange