ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.ViewSettings.TJamShellColumnProvider

Provides default system information about shell columns.

Jam_Shell_ViewSettings_TJamShellColumnProviderJam_Shell_ViewSettings_TJamShellColumnProvider
Syntax
Pascal
TJamShellColumnProvider = class(TInterfacedObject, IJamShellColumnProvider);

The following example shows how to retrieve the default columns of "This PC":

  var
    lFolder: IItemIdList;
    lColumnProvider: IJamShellColumnProvider;
    lColumns: TArray<TShellColumnId>;
    lColumn: TShellColumnId;
    lColumnInfo: TColumnInfo;
  begin
    lFolder := TJamItemIdList.CreateForSpecialFolder(SF_DRIVES);
    lColumnProvider := TJamShellColumnProvider.Create;
    lColumns := lColumnProvider.GetColumns(lFolder, False);

    // Get specific column information
    for lColumn in lColumns do
      lColumnInfo := lColumnProvider.GetColumnInfo(lFolder, lColumn);
  end;
 
Name 
Description 
 
Retrieves default column information for a specified shell column inside a folder.  
 
Retrieves shell columns of a specified folder.  
Jam.Shell.ViewSettings.TJamShellColumnProvider
 
Name 
Description 
 
Retrieves default column information for a specified shell column inside a folder.  
 
Returns information about alignment, visibility and width of a Shell column using the property system.  
 
Retrieves shell columns of a specified folder.  
 
Retrieves shell columns from a specified shell view.  
 
Retrieves all available properties.  
 
Retrieves column information for the passed folder from the shell.