Very simple situation. I have a System.Windows.Forms.NotifyIcon with a MouseClick event handler on it. The event handler just does the following:
mSystemTrayContextMenu.IsOpen = true;
Everything is perfect so far, as clicking the icon shows up the menu and selecting the menu items work too. But there is no way to get rid of the context menu if I click anywhere else than the context menu. I would need it to disappear if the user no longer
wants to click any of the items.
How to make it disappear as expected, if clicking outside of the context menu?
Sylvain Boissé, Software Architect, Noesis Innovation, www.noesisinnovation.net
View Complete Post