NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

NativeWindow.DestroyHandle

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();

Remarks

This method sets the Handle property to zero, and calls the OnHandleChange method to reflect the change.

See Also

NativeWindow Class | NativeWindow Members | System.WinForms Namespace | NativeWindow | Handle | AssignHandle | CreateHandle | ReleaseHandle | WndProc | OnHandleChange