diff --git a/CHANGELOG.md b/CHANGELOG.md index cb48d4a..2bac6d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/ExplorerPatcher/GUI.c b/ExplorerPatcher/GUI.c index a45a302..bde59ff 100644 --- a/ExplorerPatcher/GUI.c +++ b/ExplorerPatcher/GUI.c @@ -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( diff --git a/ExplorerPatcher/settings.reg b/ExplorerPatcher/settings.reg index a3eac97..4b1e80d 100644 --- a/ExplorerPatcher/settings.reg +++ b/ExplorerPatcher/settings.reg @@ -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 diff --git a/version.h b/version.h index 4a9c5f0..f825f25 100644 --- a/version.h +++ b/version.h @@ -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"