Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Application exit when Windows shuts down

Hi all,

I'm developing a standalone application using SWT/JFace 2.1 and having some problems handling when Windows shuts down with the app still running. The application has a single hidden "root" shell of which the main window shell and several popup shells are children (the reason for this arrangement is that the main window shell is always on top, but the other shells shouldn't be). None of the shells are getting closed events when the OS is shutting down, possibly because the root shell is hidden (ie does not appear on the taskbar or in the task manager's "Applications" list).

Does anyone know how I can detect shutdown or enable the window closed event on the root shell?

Cheers,

Matthew.


Back to the top