[idd] helper/notify: correctly handle menu dismissal

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2025-09-17 20:47:52 +10:00
1 parent 4585362f54
commit b504627145
1 file changed
+1
+1
View File
@@ -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: