[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Pocket PC Closing shell
|
- From: bogdan@xxxxxxxxxxxxxx (bogdan)
- Date: Wed, 1 Jun 2005 09:30:43 +0000 (UTC)
- Newsgroups: eclipse.platform.swt
- Organization: not organized
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
I'd like to show confirm dialog when user tries to close window,
I add ShellListener to my main window,
and in shellClosed method I try to display dialog,
but every time I close shell with close button (shell is created with
SWT.CLOSE style) application is closing without displaying dialog.
when I close shell from within the application, calling
shell.close(),
all works well, I can see confirm dialog and deny closing window,
How to make it work with close button display in shell title bar?
I'm using Pocket PC 2003 and SWT 3135