From e60c5ff596badc6723d346e996c64848acd62e5b Mon Sep 17 00:00:00 2001 From: Amrsatrio Date: Wed, 31 Jul 2024 02:32:10 +0700 Subject: [PATCH] Taskbar11: Load the classic context menu from EP's taskbar implementation if the context menu does not exist in explorer.exe ^2 --- ExplorerPatcher/dllmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 86f7dc7..d18cae7 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -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)); }