RAD Studio VCL Reference
TCustomCheckBox.CreateParams Method

Initializes a window-creation parameter record.

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

The CreateWnd method calls CreateParams to initialize the parameters it passes to CreateWindowHandle. CreateParams fills in the parameter record 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. 

In TCustomCheckBox, CreateParams calls the inherited method, then makes specific adjustments for check boxes. 


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