Detecting when the close (X) button has been pressed

Printable View