From 7c2ea7970d8d8194971de43287860041733a28d3 Mon Sep 17 00:00:00 2001 From: spacy51 Date: Thu, 10 Jan 2008 17:04:21 +0000 Subject: [PATCH] use newer (Windows 2000) version of folder selection --- src/win32/Directories.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32/Directories.cpp b/src/win32/Directories.cpp index 48699445..5fab5bb7 100644 --- a/src/win32/Directories.cpp +++ b/src/win32/Directories.cpp @@ -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;