RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomCheckBox.CreateWnd Method

Creates a Windows control corresponding to the check box.

Pascal
procedure CreateWnd; override;
C++
virtual __fastcall CreateWnd();

CreateWnd is called automatically when the check box is first created or when the underlying screen object must be destroyed and recreated to reflect property changes. In TCustomCheckBox, this method calls the inherited method to generate the underlying windows control, then sends a BM_SETCHECK message to set the check state of the control. 

 

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