RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl.CreateSubClass Method

Creates a windowed control derived from an existing Windows window class.

Pascal
procedure CreateSubClass(var Params: TCreateParams; ControlClassName: PChar);
C++
__fastcall CreateSubClass(TCreateParams Params, const char * ControlClassName);

Call CreateSubClass in the CreateParams method of a subclassed control, after calling the inherited CreateParams. Specify the parameter record as the value of the Params parameter. CreateSubClass allows VCL controls to create registered Windows controls. 

 

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