Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Selects an item in the CMFCShellTreeCtrl Class based on the supplied path.
BOOL SelectPath(
LPCTSTR lpszPath
);
BOOL SelectPath(
LPCITEMIDLIST lpidl
);
Parameters
[in] lpszPath
A string that specifies the path of an item.[in] lpidl
A PIDL that specifies the item
Return Value
S_OK if successful; E_FAIL otherwise.
Requirements
Header: afxshelltreectrl.h