Skip to content

Commit

Permalink
Taskbar11: Load the classic context menu from EP's taskbar implementa…
Browse files Browse the repository at this point in the history
…tion if the context menu does not exist in explorer.exe ^2
  • Loading branch information
Amrsatrio committed Jul 30, 2024
1 parent bfca879 commit e60c5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExplorerPatcher/dllmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit e60c5ff

Please sign in to comment.