Vcl.ComCtrls.TDateTimePicker.CreateWnd
Delphi
procedure CreateWnd; override;
C++
virtual void __fastcall CreateWnd(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TDateTimePicker |
Description
Creates the windows control for the calendar.
Vcl.ComCtrls.TDateTimePicker.CreateWnd inherits from Vcl.ComCtrls.TCommonCalendar.CreateWnd. All content below this line refers to Vcl.ComCtrls.TCommonCalendar.CreateWnd.
Creates the windows control for the calendar.
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.