Skip to main content

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


Display.disposeExec().



"Phillips, Matthew" <Matthew.Phillips@xxxxxxxxxxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

06/06/2003 12:19 AM
Please respond to platform-swt-dev

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



Back to the top