Skip to main content

TcxCustomShellBrowserDialog.AbsolutePIDL Property

Returns the selected shell item’s full identifier (PIDL).

Declaration

property AbsolutePIDL: PItemIDList read;

Property Value

Type Description
PItemIDList

The selected shell item’s full identifier.

Remarks

You can call one of the following functions to obtain the selected shell item’s name:

Function

Unit

Target Shell Items

GetPIDLDisplayName

cxShellListView

Any shell items

GetPidlName

cxShellCommon

Only standard shell items

The following code example invokes the shell browser dialog and saves the selected shell item’s name to the AName variable:

var
  AName: string;
begin
  if cxShellBrowserDialog1.Execute then
    AName := GetPIDLDisplayName(cxShellBrowserDialog1.AbsolutePIDL, False);
end;
See Also