Browse Source

Taskbar11: Load the classic context menu from EP's taskbar implementation if the context menu does not exist in explorer.exe ^2

pull/3551/head 22621.3880.66.3_e60c5ff
Amrsatrio 2 years ago
parent
commit
e60c5ff596
  1. 2
      ExplorerPatcher/dllmain.c

2
ExplorerPatcher/dllmain.c

@ -2006,7 +2006,7 @@ INT64 Shell_TrayWndSubclassProc( @@ -2006,7 +2006,7 @@ INT64 Shell_TrayWndSubclassProc(
pt.y = GET_Y_LPARAM(lParam);
HMENU hMenu = LoadMenuW(GetModuleHandleW(NULL), MAKEINTRESOURCEW(205));
if (!hMenu)
if (!hMenu && g_hMyTaskbar)
{
hMenu = LoadMenuW(g_hMyTaskbar, MAKEINTRESOURCEW(205));
}

Loading…
Cancel
Save