Detecting windows shutdown and handle it.
Original Reporter info from Mantis: faber
-
Reporter name: Tomasz Wieckowski
Original Reporter info from Mantis: faber
- Reporter name: Tomasz Wieckowski
Description:
The attached patch adds support for detecting Windows shutdown and close IDE (with/without saving).
Tested on Windows XP, Vista, 7
I also add response to WM_QUERYENDSESSION (no need another UI with progress 30sec.) only allows the user to terminate app. after 5 seconds.
ref. http://msdn.microsoft.com/en-us/library/ms700677(VS.85).aspx
Mantis conversion info:
- Mantis ID: 19011
- OS: Windows
- OS Build: XP,Vista,7
- Build: 30051
- Platform: Win32
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 30061 (#00c1e50c)