Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomShellBrowserDialog.AbsolutePIDL Property

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

#Declaration

Delphi
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