Vcl.Controls.TWinControl.DestroyWindowHandle
Delphi
procedure DestroyWindowHandle; virtual;
C++
virtual void __fastcall DestroyWindowHandle();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TWinControl |
Description
Destroys the window created in the CreateWindowHandle method.
Call DestroyWindowHandle to dispose of the window for the control.
TWinControl's Destroy method calls DestroyWindowHandle to destroy any window associated with a windowed control before destroying the object. The DestroyWnd method also calls DestroyWindowHandle.