Class: XFldDesktop
The following setup strings can be used on the desktop if the XFldDesktop class is installed. Most notably, this includes an interface to invoke the extended shutdown procedure. To get the currently open desktop, invoke these strings on the object with the ID <WP_DESKTOP>.

Note that since the desktop is a folder, it understands all the setup strings for XFolder, WPFolder, and WPObject as well.

XSHUTDOWNNOW=settings

Starts XShutdown now with the specified settings, which correspond to the various settings on the "XShutdown" page in the desktop's settings notebook.

Note 1: This setup string changes no settings, but is a rather a command to be performed immediately. The below settings will only affect this one system shutdown. See "Startup and shutdown" for details.

Note 2: If you invoke this setup string programatically (either through WinSetObjectData or SysSetObjectData) and confirmations are enabled, that function will not return until the confirmation dialog has been dismissed.

settings is a comma-separated list of XShutdown settings or DEFAULT. You can specify any combination of what's listed below. In general, if one of the keywords below is not specified, XShutdown will use what is specified on the "XShutdown" page in the desktop's settings notebook.

To override the preconfigured behavior after XShutdown has completed, use one of the following:


To override the preconfigured treatment of VIO windows, use either AUTOCLOSEVIO or NOAUTOCLOSEVIO.

To override the preconfigured setting for XSHUTDWN.LOG, use either LOG or NOLOG.

To override the preconfigured animation settings, use either ANIMATE or NOANIMATE.

To override the preconfigured confirmation setting, use either CONFIRM or NOCONFIRM. Note that if confirmations are on (either because CONFIRM was specified or because it was preconfigured and not overridden), most of the settings specified with XSHUTDOWNNOW will only cause the confirmation dialog to display different defaults.

If you do not want to override any settings, specify DEFAULT.

Examples: