Browse Source

Win+X and Safe to Remove menu entries can be activated by right click

pull/23/head
Valentin Radu 4 years ago
parent
commit
ad9395ce6d
  1. 4
      ExplorerPatcher/dllmain.c

4
ExplorerPatcher/dllmain.c

@ -1150,7 +1150,7 @@ BOOL TrackPopupMenuHook( @@ -1150,7 +1150,7 @@ BOOL TrackPopupMenuHook(
);
BOOL b = TrackPopupMenuFunc(
hMenu,
uFlags,
uFlags | TPM_RIGHTBUTTON,
x,
y,
nReserved,
@ -1254,7 +1254,7 @@ DWORD ShowLauncherTipContextMenu( @@ -1254,7 +1254,7 @@ DWORD ShowLauncherTipContextMenu(
BOOL res = TrackPopupMenu(
*((HMENU*)((char*)params->_this + 0xe8)),
TPM_RETURNCMD,
TPM_RETURNCMD | TPM_RIGHTBUTTON,
params->point.x,
params->point.y,
0,

Loading…
Cancel
Save