This documentation is archived and is not being maintained.
Control.HandleDestroyed Event
.NET Framework 1.1
Occurs when the control's handle is in the process of being destroyed.
[Visual Basic] Public Event HandleDestroyed As EventHandler [C#] public event EventHandler HandleDestroyed; [C++] public: __event EventHandler* HandleDestroyed;
[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.
Event Data
The event handler receives an argument of type EventArgs.
Remarks
During the HandleDestroyed event, the control is still a valid Windows control and the Handle can be recreated by calling the RecreateHandle method.
For more information about handling events, see Consuming Events.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
Control Class | Control Members | System.Windows.Forms Namespace | OnHandleDestroyed | Handle | IsHandleCreated | RecreateHandle
Show: