RAD Studio VCL Reference
TCustomCheckBox.CreateWnd Method

Creates a Windows control corresponding to the check box.

procedure CreateWnd; override;
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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!