RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.CreateWnd Method

Creates the form window.

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

CreateWnd is called when the form is created, and whenever a change to the form requires the window to be recreated. CreateWnd calls (indirectly) the CreateParams method to obtain the window creation parameters, and then calls CreateWindowHandle to direct Windows to create the underlying window for the form. It then initializes the newly-created window to reflect the property settings of the form. 

 

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