BCGControlBar Pro for MFC
LPITEMIDLIST CBCGPShellList::GetCurrentItemIdList ( ) const
inline

Returns PIDL of the current list control item.

Returns
PIDL of the current item.

Call this function to retrieve PIDL of the currently selected list control item.