Show: Delphi C++
Display Preferences

Vcl.Controls.TWinControl.DestroyWindowHandle

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance