API:Vcl.StdCtrls.TCustomEdit.CreateWindowHandle
Delphi
procedure CreateWindowHandle(const Params: TCreateParams); override;
C++
virtual void __fastcall CreateWindowHandle(const Vcl::Controls::TCreateParams &Params);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomEdit |
Description
Creates a Windows control to represent the control.
Vcl.StdCtrls.TCustomEdit.CreateWindowHandle inherits from Vcl.Controls.TWinControl.CreateWindowHandle. All content below this line refers to Vcl.Controls.TWinControl.CreateWindowHandle.
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.