Vcl.Controls.TWinControl.CreateWindowHandle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CreateWindowHandle(const Params: TCreateParams); virtual;

C++

virtual void __fastcall CreateWindowHandle(const TCreateParams &Params);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Creates a Windows control to represent the control.

The CreateWnd method calls CreateWindowHandle to create the window for a control. CreateWindowHandle creates the window by calling the CreateWindowEx API function, passing parameters from the record passed in the Params parameter. Once the window is created, its handle is available as the Handle property.

See Also