use newer (Windows 2000) version of folder selection

This commit is contained in:
spacy51 2008-01-10 17:04:21 +00:00
parent 9b39c4f19b
commit 7c2ea7970d
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ CString Directories::browseForDir(CString title)
bi.hwndOwner = m_hWnd;
bi.lpszTitle = title;
bi.pidlRoot = 0;
bi.ulFlags = BIF_RETURNONLYFSDIRS;
bi.ulFlags = BIF_RETURNONLYFSDIRS | BIF_EDITBOX | BIF_NEWDIALOGSTYLE;
bi.lpfn = browseCallbackProc;
bi.lParam = (LPARAM)(LPCTSTR)initialFolderDir;