[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
This commit is contained in:
Jared Smudde 2020-05-09 07:50:20 -05:00 committed by GitHub
parent 295ba62820
commit e2fdfae24f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;