Compartir a través de


CMFCShellTreeCtrl::SelectPath

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

See Also

Reference

CMFCShellTreeCtrl Class

Hierarchy Chart