Vcl.FileCtrl.TFileListBox.CreateWnd
Delphi
procedure CreateWnd; override;
C++
virtual void __fastcall CreateWnd();
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | protected | Vcl.FileCtrl.pas Vcl.FileCtrl.hpp | Vcl.FileCtrl | TFileListBox | 
Description
Creates a Windows control corresponding to the list box component.
Vcl.FileCtrl.TFileListBox.CreateWnd inherits from Vcl.StdCtrls.TCustomListBox.CreateWnd. All content below this line refers to Vcl.StdCtrls.TCustomListBox.CreateWnd.
Creates a Windows control corresponding to the list box component.
CreateWnd is called automatically when the list box must be displayed. CreateWnd calls the inherited CreateWnd method, which calls:
- CreateParams to initialize the window-creation parameters.
- CreateWindowHandle to create the window handle for the control.
CreateWnd additionally sets up the list box position, tabs, items, and columns.