Unit 'ComCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomTreeView.CreateWnd

Performs actions needed when the handle for the control is (re-)created.

Declaration

Source position: comctrls.pp line 3540

protected procedure TCustomTreeView.CreateWnd; override;

Description

CreateWnd is an overridden method in TCustomTreeView used to perform actions needed when the handle for the control is created or re-created. CreateWnd ensures that the States property is updated to remove the value tvsStateChanging. The internal flags for scroll bar visibility are reset, and the inherited method is called.

See also

#lcl.controls.TWinControl.CreateWnd

  

Creates the interface object (widget) and assigns the value in Handle.