API:Vcl.StdCtrls.TCustomCombo.DestroyWindowHandle
Delphi
procedure DestroyWindowHandle; override;
C++
virtual void __fastcall DestroyWindowHandle();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomCombo |
Description
Destroys the window created in the CreateWindowHandle method.
Vcl.StdCtrls.TCustomCombo.DestroyWindowHandle inherits from Vcl.Controls.TWinControl.DestroyWindowHandle. All content below this line refers to Vcl.Controls.TWinControl.DestroyWindowHandle.
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.