Skip to main content

TcxCustomShellTreeView Class

Serves as the base class for the TcxShellTreeView class.

Declaration

TcxCustomShellTreeView = class(
    TcxTreeViewContainer,
    IcxShellDependedControls,
    IcxShellRoot
)

Remarks

The TcxCustomShellTreeView class implements the basic functionality of shell tree view controls. Shell tree view controls are used to display shell items in a tree-like manner. The Shell namespace is the more comprehensive version of the file system and incorporates both file and folder objects residing on the hard disk along with virtual objects, which have no physical analog. Examples of virtual shell objects are: network printers, networked computers, Control Panel applications, Recycle Bin, My Computer, etc.

The Shell namespace provides unique identifiers for each included object and stores these identifiers in a tree structure. Shell item identifiers can be of two types: fully qualified identifiers containing the entire identifier sequence required for reaching a specific shell item, and relative identifier, which designates the path to a specific item within its parent folder.

The shell tree view control supports two ways of accessing a specific shell item:

  • By specifying the physical path to a shell item via the AbsolutePath property.
  • By specifying the required item’s identifier via the AbsolutePIDL property.

To access the nodes that are displayed within the shell tree view and the corresponding shell items, use the InnerTreeView.Items and Folders properties, respectively.

The TcxCustomShellTreeView class provides properties, affecting the control’s look and feel. These properties specify:

  • Drag-and-drop functionality of the shell list view (see the DragDropSettings property description).
  • End-user capability to rename shell items (ReadOnly).
  • Shell options, including the ability to access shell items via the keyboard and mouse, displaying folder, non-folder and hidden items, etc.(see the Options property description).
  • Starting folder options (see the Root property description).
See Also