-
Andreas Opferkuch authored
See also here ("Important: If you implement a context menu, it's vital that you set your window to the foreground before calling TrackPopupMenu to ensure the menu closes properly."): https://www.codeproject.com/Articles/4768/Basic-use-of-Shell-NotifyIcon-in-Win32