Vcl.ComCtrls.TCustomStatusBar.CreateWnd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CreateWnd; override;

C++

virtual void __fastcall CreateWnd();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomStatusBar

Description

Creates the Windows control that represents the status bar.

The CreateHandle method calls CreateWnd to handle the particulars of creating the status bar window. TCustomStatusBar overrides the inherited method to ensure that the newly-created window and the TCustomStatusBar properties correctly reflect each other.

The Windows control for the status bar can be temporarily destroyed and recreated in order to set properties that require changing the window creation parameters. Thus, CreateWnd may be called more than once during the lifetime of the TCustomStatusBar instance.

See Also