RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRichEdit.DestroyWnd Method

Destroys the rich edit control's window.

Pascal
procedure DestroyWnd; override;
C++
virtual __fastcall DestroyWnd();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!