Browse Source

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

pull/886/head 22000.348.40.10_1864ee1
Valentin Radu 4 years ago
parent
commit
1864ee1d03
  1. 1
      CHANGELOG.md
  2. 9
      ExplorerPatcher/GUI.c
  3. 4
      ExplorerPatcher/settings.reg
  4. 6
      version.h

1
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) * 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) * 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 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 #### Simple Window Switcher

9
ExplorerPatcher/GUI.c

@ -136,6 +136,11 @@ LSTATUS GUI_RegSetValueExW(
SHAppBarMessage(ABM_SETSTATE, &abd); SHAppBarMessage(ABM_SETSTATE, &abd);
return ERROR_SUCCESS; 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( LSTATUS GUI_RegQueryValueExW(
@ -214,6 +219,10 @@ LSTATUS GUI_RegQueryValueExW(
*(DWORD*)lpData = (SHAppBarMessage(ABM_GETSTATE, &abd) == ABS_AUTOHIDE); *(DWORD*)lpData = (SHAppBarMessage(ABM_GETSTATE, &abd) == ABS_AUTOHIDE);
return ERROR_SUCCESS; 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( static HRESULT GUI_AboutProc(

4
ExplorerPatcher/settings.reg

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

6
version.h

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

Loading…
Cancel
Save