RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRichEdit.CreateWnd Method

Creates a Windows control corresponding to the edit control.

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

The CreateWnd method is called when the rich edit control is created, and whenever a change to the rich edit control requires the window to be recreated. CreateWnd first calls the inherited CreateWnd, and then sends the newly created window messages to request notification of Windows events, and, if the window is being recreated, reloads the rich text from a memory stream. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!