[idd] helper/notify: correctly handle menu dismissal
This commit is contained in:
1 parent
4585362f54
commit
b504627145
1 file changed
+1
@@ -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