CDirDialog GetDirDlg(AfxGetMainWnd()); GetDirDlg.m_ofn.lpstrTitle = _T( "Choose Project Top Directory" ); if (GetDirDlg.DoModal() == IDOK) { m_sTopPath = GetDirDlg.m_sDirectory; }
CDirDialog
CFolderPickerDialog fFolder; if( fFolder.DoModal() == IDOK ) { CString strFolderPath = fFolder.GetFolderPath(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)