RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMemo.CreateWindowHandle Method

Creates a window based on the window-creation parameter record.

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

The CreateWnd method calls CreateWindowHandle to create the edit control 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 overrides the inherited method to interpret the Caption in Params as the initial text rather than as the window caption. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!