|
|
|
@ -476,6 +476,7 @@ LRESULT CALLBACK CLauncherTipContextMenu_WndProc( |
|
|
|
POINT pt; |
|
|
|
POINT pt; |
|
|
|
GetCursorPos(&pt); |
|
|
|
GetCursorPos(&pt); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HWND prevhWnd = GetForegroundWindow(); |
|
|
|
SetForegroundWindow(hWnd); |
|
|
|
SetForegroundWindow(hWnd); |
|
|
|
|
|
|
|
|
|
|
|
HMENU hMenu = CreatePopupMenu(); |
|
|
|
HMENU hMenu = CreatePopupMenu(); |
|
|
|
@ -517,6 +518,7 @@ LRESULT CALLBACK CLauncherTipContextMenu_WndProc( |
|
|
|
&(pt) |
|
|
|
&(pt) |
|
|
|
); |
|
|
|
); |
|
|
|
free(unknown_array); |
|
|
|
free(unknown_array); |
|
|
|
|
|
|
|
SetForegroundWindow(prevhWnd); |
|
|
|
|
|
|
|
|
|
|
|
if (res == 1 || res == 2) |
|
|
|
if (res == 1 || res == 2) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|