Vcl.ExtCtrls.TCustomCategoryPanelGroup.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 TCustomCategoryPanelGroup

Description

Initializes the window creation parameters so that the entire window is not redrawn when the width or height of the client area changes.

Vcl.ExtCtrls.TCustomCategoryPanelGroup.CreateParams inherits from Vcl.Forms.TScrollingWinControl.CreateParams. All content below this line refers to Vcl.Forms.TScrollingWinControl.CreateParams.

Initializes the window creation parameters so that the entire window is not redrawn when the width or height of the client area changes.

The CreateWnd method calls CreateParams to initialize the parameters it passes to CreateWindowHandle. CreateParams calls the inherited method and uses that Window class style, removing the CS_HREDRAW and CS_VREDRAW styles from it.

By removing these styles the scrolling windowed control will only redraw the invalidated regions, not the entire window.

See Also