BOOL CBCGPShellManager::BrowseForFolder | ( | CString & | strOutFolder, |
CWnd * | pWndParent = NULL , |
||
LPCTSTR | lplszInitialFolder = NULL , |
||
LPCTSTR | lpszTitle = NULL , |
||
UINT | ulFlags = BIF_RETURNONLYFSDIRS , |
||
LPINT | piFolderImage = NULL , |
||
UINT | nBrowseFolderDlgStyle = BCGP_FOLDER_PICKER_STANDARD |
||
) |
Displays a dialog box that enables the user to select a Shell folder.
Call this function to display a dialog box that enables the user to select a Shell folder.
strOutFolder | String that receives the selected folder. |
pWndParent | A pointer to a displayed dialog parent window. |
lplszInitialFolder | Specifies the initialy selected folder. |
lpszTitle | A dialog box title. |
ulFlags | See BROWSEINFO for the detailded description. |
piFolderImage | Contains the image index of the selected folder in the system image list. |
nBrowseFolderDlgStyle | Specifies "Folder" dialog style: BCGP_FOLDER_PICKER_STANDARD, BCGP_FOLDER_PICKER_THEMED or BCGP_FOLDER_PICKER_FILEDLG. |