RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl.CreateWindowHandle Method

Creates a Windows control to represent the control.

Pascal
procedure CreateWindowHandle(const Params: TCreateParams); virtual;
C++
virtual __fastcall CreateWindowHandle(const TCreateParams Params);

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. 

 

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