Vcl.StdCtrls.TCustomCheckBox.CreateWnd
Delphi
procedure CreateWnd; override;
C++
virtual void __fastcall CreateWnd(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomCheckBox |
Description
Creates a Windows control corresponding to the check box.
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.