Sign in Join
FPDoc Onlineexperiment

TCustomShellListView.CreateHandle procedure

Member of TCustomShellListViewprotectedIn unit ShellCtrls

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

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.