Vcl.ComCtrls.TCustomTreeView.CreateParams
Delphi
procedure CreateParams(var Params: TCreateParams); override;
C++
virtual void __fastcall CreateParams(Vcl::Controls::TCreateParams &Params);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTreeView |
Description
Initializes a window-creation parameter data structure.
The CreateWnd method calls CreateParams to initialize the parameters it passes to CreateWindowHandle.
CreateParams fills in the data structure that is passed as the value of the Params parameter. This data structure holds information needed when telling Windows to create a window handle. The fields of a Vcl.Controls.TCreateParams record become the parameters to a call to the CreateWindowEx API function.
CreateParams sets the value of the Params parameter to reflect the current property settings of the tree view.