[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ShellCtrls' (#lcl)

TCustomShellListView.CreateHandle

Creates the handle for the control and populates the Items property.

Declaration

Source position: shellctrls.pas line 280

protected procedure TCustomShellListView.CreateHandle; override;

Description

CreateHandle is an overridden method in TCustomShellListView. It calls the inherited method on entry to allocate the handle for the windowed control with creation parameters and window flags as needed. An internal flag is checked to determine if the control is waiting for handle creation to finish loading the values in Items. When set, PopulateWithRoot is called to load the file system entries in Items and the flag is cleared.

CreateHandle is called from methods in the ancestor class when HandleNeeded is called for the class instance or its Parent.

See also

TCustomShellListView.Items

  

Collection of list items displayed on the list view control.

TCustomShellListView.PopulateWithRoot

  

Fills the list view with file system information for the directory in Root.

TCustomShellListView.Root

  

Indicates the initial directory path whose objects are displayed in the control.

TWinControl.CreateHandle

  

Creates the Handle for the widget, if not already created.

TWinControl.HandleNeeded

  

Call this method when your code requires a valid Handle for this control.

TWinControl.HandleAllocated

  

Checks whether a handle for the widget has been allocated for the control.


Version 4.0 Generated 2025-05-03 Home