[EXPLORER] Implement ClearRecentDocsOnExit setting (#7935)

This commit is contained in:
Whindmar Saksit 2025-04-27 01:28:37 +02:00 committed by GitHub
parent bd2d3b8603
commit a6558c0562
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 53 additions and 4 deletions

View file

@ -470,6 +470,9 @@ public:
return;
SendMessage(m_DesktopWnd, WM_PROGMAN_SAVESTATE, 0, 0);
if (SHRestricted(REST_CLEARRECENTDOCSONEXIT))
ClearRecentAndMru();
}
LRESULT DoExitWindows()