I have created an app that minimizes to the systray and the popup menu works fine, EXCEPT: when the user clicks off of the menu without selecting an option it doesn't cancel the menu.

How do I make the menu go away when the user clicks off of it???