Browse Source

Taskbar11: Option to use the stock taskbar context menu

pull/1138/head
Valentin Radu 3 years ago
parent
commit
451db3c5b6
  1. 3
      ExplorerPatcher/dllmain.c
  2. 2
      ExplorerPatcher/settings.reg
  3. 2
      ExplorerPatcher/settings10.reg

3
ExplorerPatcher/dllmain.c

@ -2349,7 +2349,8 @@ LRESULT CALLBACK Shell_TrayWndMouseProc(
_In_ LPARAM lParam _In_ LPARAM lParam
) )
{ {
if (!bOldTaskbar && if (!bOldTaskbar &&
!bNoPropertiesInContextMenu &&
nCode == HC_ACTION && nCode == HC_ACTION &&
wParam == WM_RBUTTONUP && wParam == WM_RBUTTONUP &&
IsPointOnEmptyAreaOfNewTaskbar(((MOUSEHOOKSTRUCT*)lParam)->pt) IsPointOnEmptyAreaOfNewTaskbar(((MOUSEHOOKSTRUCT*)lParam)->pt)

2
ExplorerPatcher/settings.reg

@ -725,7 +725,7 @@
;d Enable SysListView32 for Explorer views * ;d Enable SysListView32 for Explorer views *
@="" @=""
[HKEY_CURRENT_USER\Software\ExplorerPatcher] [HKEY_CURRENT_USER\Software\ExplorerPatcher]
;b Hide the program settings item ("Properties") from the taskbar context menu ;b Do not change the taskbar context menu (e.g. do not display the "Properties" item)
"NoPropertiesInContextMenu"=dword:00000000 "NoPropertiesInContextMenu"=dword:00000000
;b Enable symbols download * ;b Enable symbols download *
"EnableSymbolDownload"=dword:00000001 "EnableSymbolDownload"=dword:00000001

2
ExplorerPatcher/settings10.reg

@ -560,7 +560,7 @@
;d Enable SysListView32 for Explorer views * ;d Enable SysListView32 for Explorer views *
@="" @=""
[HKEY_CURRENT_USER\Software\ExplorerPatcher] [HKEY_CURRENT_USER\Software\ExplorerPatcher]
;b Hide the program settings item ("Properties") from the taskbar context menu ;b Do not change the taskbar context menu (e.g. do not display the "Properties" item)
"NoPropertiesInContextMenu"=dword:00000000 "NoPropertiesInContextMenu"=dword:00000000
;b Enable symbols download * ;b Enable symbols download *
"EnableSymbolDownload"=dword:00000001 "EnableSymbolDownload"=dword:00000001

Loading…
Cancel
Save