Vcl.StdCtrls.TCustomListBox.CreateWnd
Delphi
procedure CreateWnd; override;
C++
virtual void __fastcall CreateWnd(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomListBox |
Description
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.