Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] How can I save before disposing

Hi there

when clicking the X button on a shell, I need to ask the user of the
application if they want to exit or not. When the user chooses not to
exit I dont want to close the application.

I was able to acheive this by having an Exit button. But what if the
user hits the X button on the shell itself.. That seems to close the
application no matter what to choose..


thanks for your help
Brian


Back to the top