1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2025-01-18 16:54:13 +01:00

Fixed "Show People on the taskbar" (#554)

This commit is contained in:
Valentin Radu 2021-12-13 02:46:28 +02:00
parent ae79657b79
commit 1864ee1d03
4 changed files with 15 additions and 5 deletions

View File

@ -29,6 +29,7 @@ Tested on build 22000.348.
* When changing the main taskbar position and restarting File Explorer, the new position is now correctly saved and applied when File Explorer restarts (#523) (.7)
* Mitigation for the issue described in #416 (.7)
* Fixed a bug that prevented the Windows 10 window switcher from displaying when it was enabled, instead falling back to the Windows NT window switcher (#548) (.8)
* Fixed the "Show People in the taskbar" option and made it not require a restart to apply (#554) (.10)
#### Simple Window Switcher

View File

@ -136,6 +136,11 @@ LSTATUS GUI_RegSetValueExW(
SHAppBarMessage(ABM_SETSTATE, &abd);
return ERROR_SUCCESS;
}
else if (!wcscmp(lpValueName, L"Virtualized_" _T(EP_CLSID) L"_PeopleBand"))
{
PostMessageW(FindWindowW(L"Shell_TrayWnd", NULL), WM_COMMAND, 435, 0);
return ERROR_SUCCESS;
}
}
LSTATUS GUI_RegQueryValueExW(
@ -214,6 +219,10 @@ LSTATUS GUI_RegQueryValueExW(
*(DWORD*)lpData = (SHAppBarMessage(ABM_GETSTATE, &abd) == ABS_AUTOHIDE);
return ERROR_SUCCESS;
}
else if (!wcscmp(lpValueName, L"Virtualized_" _T(EP_CLSID) L"_PeopleBand"))
{
return RegQueryValueExW(hKey, L"PeopleBand", lpReserved, lpType, lpData, lpcbData);
}
}
static HRESULT GUI_AboutProc(

View File

@ -63,8 +63,8 @@
;b Show Task view button
"ShowTaskViewButton"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People]
;b Show People on the taskbar *
"TaskbarMn"=dword:00000000
;b Show People on the taskbar
"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_PeopleBand"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;b Show Desktop button
"TaskbarSD"=dword:00000001

View File

@ -1,7 +1,7 @@
#define VER_MAJOR 22000
#define VER_MINOR 348
#define VER_BUILD_HI 40
#define VER_BUILD_LO 9
#define VER_BUILD_LO 10
#define VER_FLAGS VS_FF_PRERELEASE
@ -12,5 +12,5 @@
#define VER_STR(arg) #arg
// The String form of the version numbers
#define VER_FILE_STRING VALUE "FileVersion", "22000.348.40.9"
#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.348.40.9"
#define VER_FILE_STRING VALUE "FileVersion", "22000.348.40.10"
#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.348.40.10"