Vcl.Forms.TCustomForm.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.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Creates a form window given a set of window-creation parameters.
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.