RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl.CreateParented Constructor

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

Pascal
constructor CreateParented(ParentWindow: HWnd);
C++
__fastcall TWinControl(HWnd ParentWindow);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!