Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Control.HandleDestroyed Event

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.