BCGControlBar Pro for MFC
BOOL CBCGPShellList::GetCurrentFolderName ( CString &  strName) const

Retrieves the name of the current folder.

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

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

Parameters
strNameReceives the folder name.