use newer (Windows 2000) version of folder selection

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@282 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
spacy51 2008-01-10 17:04:21 +00:00
parent d7dc5effea
commit 5a80ca34fc
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.hwndOwner = m_hWnd;
bi.lpszTitle = title; bi.lpszTitle = title;
bi.pidlRoot = 0; bi.pidlRoot = 0;
bi.ulFlags = BIF_RETURNONLYFSDIRS; bi.ulFlags = BIF_RETURNONLYFSDIRS | BIF_EDITBOX | BIF_NEWDIALOGSTYLE;
bi.lpfn = browseCallbackProc; bi.lpfn = browseCallbackProc;
bi.lParam = (LPARAM)(LPCTSTR)initialFolderDir; bi.lParam = (LPARAM)(LPCTSTR)initialFolderDir;