Vcl.ComCtrls.TCustomRichEdit.DestroyWnd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DestroyWnd; override;

C++

virtual void __fastcall DestroyWnd();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomRichEdit

Description

Destroys the rich edit control's window.

DestroyWnd is called automatically when the rich edit control is destroyed or when its window must be temporarily destroyed and recreated to implement a property change. Before the window is destroyed, DestroyWnd saves a copy of the control's text in a memory stream, frees any device contexts, and finally calls DestroyWindowHandle.

See Also