This document is archived and information here might be outdated. Recommended version. |
Occurs when the docking window is about to be destroyed.
[Visual Basic .NET]
Public Sub OnDestroy ( _
)
[C#]
public void OnDestroy (
);
If you embed or reference any ActiveX control in the child form of your dockable window, you must call Form::Dispose() at OnDestroy to release the ActiveX control before application shutdown.
If you embed or reference any ActiveX control in the child form of your dockable window, you must call Form::Dispose() at OnDestroy to release the ActiveX control before application shutdown.