Vcl.ExtCtrls.TCustomControlBar.CreateParams

From RAD Studio API Documentation
Jump to: navigation, search

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.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TCustomControlBar

Description

Sets the control bar's window flags.

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 MSDN API function.

In TCustomControlBar, CreateParams overrides the inherited method in order to turn off the CS_HREDRAW and CS_VREDRAW windows flags.

See Also