I just want to know that how this can be tracked that close button title bar is clicked?
Top - Right hand of any window of application.
I just want to track that this cross button is closed.
In my application some connections are running and if somebody just clicks the close button on top right of the title bar then I must close the connection and then exit from the application?
How to do this??
Thanks in advance