1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-24 07:30:22 +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( BOOL b = TrackPopupMenuFunc(
hMenu, hMenu,
uFlags, uFlags | TPM_RIGHTBUTTON,
x, x,
y, y,
nReserved, nReserved,
@ -1254,7 +1254,7 @@ DWORD ShowLauncherTipContextMenu(
BOOL res = TrackPopupMenu( BOOL res = TrackPopupMenu(
*((HMENU*)((char*)params->_this + 0xe8)), *((HMENU*)((char*)params->_this + 0xe8)),
TPM_RETURNCMD, TPM_RETURNCMD | TPM_RIGHTBUTTON,
params->point.x, params->point.x,
params->point.y, params->point.y,
0, 0,