共用方式為


CMFCShellListCtrl::GetCurrentItemIdList

Returns the PIDL of the currently selected item.

LPITEMIDLIST GetCurrentItemIdList() const;

Return Value

The PIDL of the current item.

Requirements

Header: afxshelllistctrl.h

See Also

Reference

CMFCShellListCtrl Class

Hierarchy Chart