add opened files to the "recent documents" list

svn path=/trunk/; revision=8522
This commit is contained in:
Martin Fuchs
2004-03-03 20:29:52 +00:00
parent d39b5e77aa
commit 30f3bfac23
@@ -1125,6 +1125,9 @@ void StartMenu::ActivateEntry(int id, const ShellEntrySet& entries)
shexinfo.lpIDList = &*shell_path;
// add PIDL to the recent file list
SHAddToRecentDocs(SHARD_PIDL, shexinfo.lpIDList);
if (!ShellExecuteEx(&shexinfo))
display_error(hparent, GetLastError());