CMFCShellTreeCtrl::SelectPath
Selects an item in the CMFCShellTreeCtrl Class based on the supplied path.
BOOL SelectPath(
LPCTSTR lpszPath
);
BOOL SelectPath(
LPCITEMIDLIST lpidl
);
[in] lpszPath
A string that specifies the path of an item.[in] lpidl
A PIDL that specifies the item
S_OK if successful; E_FAIL otherwise.
Header: afxshelltreectrl.h