1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-23 23:21:08 +01:00

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

This commit is contained in:
Valentin Radu 2021-09-11 20:16:53 +03:00
parent cdb67267d6
commit ad9395ce6d

View File

@ -1150,7 +1150,7 @@ BOOL TrackPopupMenuHook(
);
BOOL b = TrackPopupMenuFunc(
hMenu,
uFlags,
uFlags | TPM_RIGHTBUTTON,
x,
y,
nReserved,
@ -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,