BCGControlBar Pro for MFC
BOOL CBCGPShellTree::SelectPath ( LPCITEMIDLIST  lpidl,
BOOL  bExpandNodes = TRUE 

Given a PIDL or string containing a path selects the appropriate tree control item.

S_OK if the appropriate tree item was found and selected; otherwise E_FAIL;

Call this member function to select a tree control item with accordance to the given textual path or PIDL.

lpidlSpecifies the PIDL
bExpandNodesSpecifies whether the tree node associated with selected path should be expanded.