Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CMFCShellListCtrl::GetItemPath

 

Retrieves the path for an item.

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

[out] strPath

A reference to a string that receives the path.

[in] iItem

The index of the list item.

TRUE if successful; FALSE otherwise.

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

Requirements

Header: afxshelllistctrl.h

Show: