BCGControlBar Pro for MFC
BOOL CBCGPShellList::GetCurrentFolder ( CString &  strPath) const

Retrieves the path to the current folder.

Returns
Nonzero if the path was retrieved successfully; otherwise 0.

The function fails if there is no folder selected in the list control.

Parameters
strPathReceives the path.