The "Cannot close ..." dialog appears when XShutdown encounters a non-Presentation Manager
(PM) session. This includes OS/2 and DOS text sessions and Win-OS/2 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.
- "Send WM_CLOSE to 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 OS/2) 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 settings notebook.