Vcl.Controls.TWinControl.CreateParented

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor CreateParented(ParentWindow: HWnd);

Properties

Type Visibility Source Unit Parent
constructor public Vcl.Controls.pas Vcl.Controls TWinControl

Description

Creates and initializes a control as the child of a specified non-VCL container.

Call CreateParented to embed a new control in a non-VCL parent window. TActiveXControl objects call CreateParented to create an ActiveX control as a child of the host application's client site window.