BCGControlBar Pro for MFC
LPITEMIDLIST CBCGPShellManager::BrowseForFolder ( LPBROWSEINFO  lpbi,
UINT  nBrowseFolderDlgStyle = BCGP_FOLDER_PICKER_THEMED 
)

Displays a dialog box that enables the user to select a Shell folder.

Parameters
lpbiA pointer to BROWSEINFO object. Cannot be NULL
nBrowseFolderDlgStyleSpecifies "Folder" dialog style: BCGP_FOLDER_PICKER_STANDARD, BCGP_FOLDER_PICKER_THEMED or BCGP_FOLDER_PICKER_FILEDLG.
Returns
A pointer to the selected folder or NULL if user "Cancel" button has been clicked.