Skip to main content

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


http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet99.java?rev=HEAD&content-type=text/vnd.viewcvs-markup



Brian Al Saadi <brian.alsaadi@xxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

10/26/2004 04:46 PM

Please respond to
platform-swt-dev

To
platform-swt-dev@xxxxxxxxxxx
cc
Subject
[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
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top