mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-13 10:58:09 +00:00
[idd] helper/notify: correctly handle menu dismissal
This commit is contained in:
@@ -92,6 +92,7 @@ LRESULT CNotifyWindow::onNotifyIcon(UINT uEvent, WORD wIconId, int x, int y)
|
||||
switch (uEvent)
|
||||
{
|
||||
case WM_CONTEXTMENU:
|
||||
SetForegroundWindow(m_hwnd);
|
||||
switch (TrackPopupMenu(m_menu, TPM_RETURNCMD | TPM_NONOTIFY, x, y, 0, m_hwnd, NULL))
|
||||
{
|
||||
case ID_MENU_SHOW_LOG:
|
||||
|
Reference in New Issue
Block a user