The "Cannot close ..." dialog appears when &xshutdown; encounters a non-Presentation Manager
(PM) session. This includes &os2; and DOS text sessions and &winos2; sessions, be they
full screen or windowed.
Since there is no predefined way of how to close such sessions, &xshutdown; prompts
for an action here. The following actions are available:
- "Skip session" will not close the session, but skip it, as if you
had pressed the "Skip" button in the &xshutdown; status window.
- "Close PM window" will simulate selecting the "Close" menu
item in the session's system menu. This should work for VIO windows as well as
full-screen sessions, because the latter session type is also represented by a
minimized icon on the Desktop. This might however result in yet another
(regular &os2;) confirmation window whether the session should really be closed.
- "Kill session" will kill the session without further discussion.
This invokes the
DosKillProcess
API on the session's process.
Note that neither of these methods will save the data of the session. If you wish
to have the data of a certain session saved, save the data of the session's application
and close the window yourself now, which will
also cause &xshutdown; to continue.
If the "Store these settings..." flag is checked, &xshutdown; will remember
the selected action for all future sessions which carry this title. Checking this
setting will add this session title to the list of auto-close items which are available
in the "Auto-close details" dialog on the "&xshutdown;"
page in the Desktop's properties notebook.