[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Pocket PC Closing shell



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