RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.CreateWindowHandle Method

Creates a form window given a set of window-creation parameters.

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

The CreateWnd method calls CreateWindowHandle to create the form window once it has been specified in the window-creation parameters. CreateWindowHandle creates the window by calling the CreateWindowEx API function, passing parameters from the record passed in the Params parameter. CreateWindowHandle removes the CS_HREDRAW and CS_VREDRAW class styles from the window class. 

Params holds information needed when telling Windows to create a window handle. 

 

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