RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomControlBar.CreateParams Method

Sets the control bar's window flags.

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 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 TCustomControlBar, CreateParams overrides the inherited method in order to turn off the CS_HREDRAW and CS_VREDRAW windows flags. 

 

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