https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e2fdfae24fdfc166810fe2...
commit e2fdfae24fdfc166810fe2d06404bfc3d9b6bf57 Author: Jared Smudde computerwhiz02@hotmail.com AuthorDate: Sat May 9 07:50:20 2020 -0500 Commit: GitHub noreply@github.com CommitDate: Sat May 9 21:50:20 2020 +0900
[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-di... https://www.sevenforums.com/tutorials/85487-common-file-dialog-box-customize... --- 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;