diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 5c49aab..a987d55 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -1968,7 +1968,7 @@ INT64 Shell_TrayWndSubclassProc( ToggleTaskbarAutohide(); return 0; } - else if (uMsg == WM_HOTKEY && wParam == 500 && lParam == MAKELPARAM(MOD_WIN, 0x41)) + else if (uMsg == WM_HOTKEY && wParam == 500 && lParam == MAKELPARAM(MOD_WIN, 0x41) && IsWindows11()) { InvokeActionCenter(); return 0; @@ -2279,7 +2279,14 @@ INT64 ClockButtonSubclassProc( { if (FindWindowW(L"Windows.UI.Core.CoreWindow", NULL)) { - ToggleNotificationsFlyout(); + if (IsWindows11()) + { + ToggleNotificationsFlyout(); + } + else + { + ToggleActionCenter(); + } } return 1; } diff --git a/ExplorerPatcher/settings10.reg b/ExplorerPatcher/settings10.reg index 8cf179a..ceacf7b 100644 --- a/ExplorerPatcher/settings10.reg +++ b/ExplorerPatcher/settings10.reg @@ -25,12 +25,15 @@ ;x 0 Left ;x 2 Right ;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_MMTaskbarPosition"=dword:00000003 +[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search] +;c 3 Search +;x 0 Hidden +;x 1 Show search icon +;x 2 Show search box +"SearchboxTaskbarMode"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] ;b Show Cortana button "ShowCortanaButton"=dword:00000000 -[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search] -;b Show Search button -"SearchboxTaskbarMode"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] ;b Show Task view button "ShowTaskViewButton"=dword:00000001 @@ -107,9 +110,10 @@ ;x 0 Windows 7 flyout "EnableMtcUvc"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell] -;c 2 Clock +;c 3 Clock ;x 0 Windows 10 flyout (default) ;x 1 Windows 7 +;x 2 Action Center "UseWin32TrayClockExperience"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell] ;c 2 Battery diff --git a/libs/sws b/libs/sws index e6ac14f..6fdceae 160000 --- a/libs/sws +++ b/libs/sws @@ -1 +1 @@ -Subproject commit e6ac14f701589351d6c242c13235ad026a99e327 +Subproject commit 6fdceae19a8f4339cd59618b3bbd35dac574ac34