From e2fdfae24fdfc166810fe2d06404bfc3d9b6bf57 Mon Sep 17 00:00:00 2001 From: Jared Smudde Date: Sat, 9 May 2020 07:50:20 -0500 Subject: [PATCH] [COMDLG32] Add some more places to the places bar in the open file dialog. (#2732) Add Recent Documents and My Network Places to the places bar in the open file dialog. NOTE: Technically this "places bar" can be customized: https://www.tenforums.com/tutorials/126153-change-places-bar-items-common-dialog-box-windows.html https://www.sevenforums.com/tutorials/85487-common-file-dialog-box-customize-places-bar.html --- dll/win32/comdlg32/filedlg.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dll/win32/comdlg32/filedlg.c b/dll/win32/comdlg32/filedlg.c index 1847d837c09..af3c5c4a3ac 100644 --- a/dll/win32/comdlg32/filedlg.c +++ b/dll/win32/comdlg32/filedlg.c @@ -305,9 +305,17 @@ static void filedlg_collect_places_pidls(FileOpenDlgInfos *fodInfos) { static const int default_places[] = { +#ifdef __REACTOS__ + CSIDL_RECENT, CSIDL_DESKTOP, CSIDL_MYDOCUMENTS, CSIDL_DRIVES, + CSIDL_NETWORK, +#else + CSIDL_DESKTOP, + CSIDL_MYDOCUMENTS, + CSIDL_DRIVES, +#endif }; unsigned int i; HKEY hkey;