how to close the application when the mouse click outside the window.
in my application ,I popu a window ,and I want to close it when I click the outside this popu window or the mouse click the desktop.