How to ask on exit "Do you really want to exit?"



When user clicks the close button at right bottom,i want my program to ask
"Do you really want to exit?",if no the program goes on to work.

I connected a destroy event to window.But what i must do exactly?.
Thakns for help,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]