> Applications sould NEVER shut down the system itself. It should not be a > matter of courtesy, they souldn't be allowed.
Try this out with applications that have unsaved data. They will pop up a dialog box when Windows REQUESTS (not demands) that they shut down indicating that something has not be saved. The user must select "OK" to close without saving or "CANCEL" to cancel the shutdown and stay in the application. If any application cancels the shutdown, it will not happen. > I assumed the orriginal question was asking about just closing the > application itself. That would, of course, be ok. No, the original question was how to shut down the computer and turn it off when some time comsuming process has completed. > I know that some brain dead operating systems let any running program do > anything it wants, but that is not good. > > What if someone else is using the system at the time (even on windows > they could be editing a shared file)? They could lose all their work. They won't lose anything if the application warns the user that there is unsaved data when the kernel requests that the application close itself (basically the same as the user clicking on the application close button while unsaved work is still present). Jeffrey "botman" Broome _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

