RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTreeView.CreateParams Method

Initializes a window-creation parameter data structure.

Pascal
procedure CreateParams(var Params: TCreateParams); override;
C++
virtual __fastcall CreateParams(TCreateParams Params);

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 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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!