Partager via


CMFCShellListCtrl::GetItemPath

Retrieves the path for an item.

BOOL GetItemPath(
   CString& strPath,
   int iItem 
) const;

Parameters

  • [out] strPath
    A reference to a string that receives the path.

  • [in] iItem
    The index of the list item.

Return Value

TRUE if successful; FALSE otherwise.

Remarks

The index supplied by iItem is based on the items currently displayed by the CMFCShellListCtrl Class object.

Requirements

Header: afxshelllistctrl.h

See Also

Reference

CMFCShellListCtrl Class

Hierarchy Chart