Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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