RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCommonCalendar.CreateWnd Method

Creates the windows control for the calendar.

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

CreateWnd is called automatically when the windowed control is first created or when the window must be destroyed and recreated to reflect property changes. Override CreateWnd to pass additional initialization messages to the window when it is first created. 

CreateWnd calls the TWinControl CreateWnd method to generate the window, and then sends messages to initialize the control so that it reflects the current property settings. 

 

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