WinExit v1.4
------------

WinExit is a small, simple but incredibly useful utility that I wrote to 
allow me to quickly exit or restart Windows. When run, WinExit presents 
a small dialog box with the caption "Exit Windows?" and three buttons - 
Yes, No, Restart. Press:

      Yes - to exit Windows

      No  - to return to your work in Windows

      Restart - to restart Windows without exiting.
      

In addition, WinExit can be configured to immediately exit or restart 
Windows - this is discussed in the configuration section below.


Installing WinExit
------------------

The .ZIP file contains four files:

    WINEXIT.EXE - the WinExit program
    
    WINEXIT.CPL - Control Panel applet to configure WinExit

    CTL3DV2.DLL - Microsoft support library for 3D appearance

    WEXIT14.TXT - this file.


Copy WINEXIT.EXE to your Windows directory (usually C:\WINDOWS) and 
CTL3DV2.DLL to your Windows System directory (usually 
C:\WINDOWS\SYSTEM). WINEXIT.CPL should also be placed in your Windows 
System directory. 

You can then install an icon in a program group of your choice. I prefer 
to have mine in Main, for convenience. The easiest way to do this is to 
open the Main group in Program Manager and then double-click on the Main 
window background whilst holding down the ALT key. This will bring up a 
blank Program Item Properties dialog which you can then fill in with 
WinExit's details as follows:

        Description: WinExit
        
        Command Line: C:\WINDOWS\WINEXIT.EXE
        
        Working Directory: C:\WINDOWS
        
An icon for WinExit will then appear in Main.


Customising WinExit
-------------------

WinExit can now be configured to immediately restart or exit Windows as 
an alternative to being presented with the Yes/No/Restart dialog. This 
is done via the WinExit configuration program which should appear in 
your Windows Control Panel. The provided WINEXIT.CPL file should be 
placed in your Windows System directory (usually C:\WINDOWS\SYSTEM).
From now on, whenever you start Control Panel, you will see an 
additional item - the WinExit configuration applet. Double-clicking on 
this will present you with a configuration dialog where you will be able 
to select one of the following options:

    Prompt  - this is WinExit's default method of operation; presenting 
              you with the Yes/No/Restart dialog.
             
    Restart - this configures WinExit to immediately restart Windows 
              when you double-click on its icon.
              
    Exit    - this configures WinExit to immediately exit Windows
              when you double-click on its icon.


WinExit saves the configuration information to a file called WINEXIT.INI 
in your Windows directory. Should you accidentally delete this file, 
don't worry - WinExit will revert to its default operation and a new 
WINEXIT.INI will be created next time you run the configuration program.


Current version
---------------

The current version is 1.4. You can find out the version number of your 
copy of WinExit (and the Control Panel applet) by RIGHT-CLICKING on the 
dialog box.


History
-------

v1.0: Initial WinExit program - written in Visual Basic (ahem).

v1.1: Rewritten in C (and compiled using Turbo C++ 3.1).

v1.2: Fixed problem that prevented WinExit from closing when stopped via 
      Task Manager.
      
v1.3: Visually enhanced with Microsoft's CTL3D library.

v1.4: Added configuration via a Control Panel applet. WinExit will now 
      centre itself on screen whatever the desktop video resolution.



Finally
-------

That's all there is to it. WinExit is free - and freely distributable - 
all I ask is that you send me some email if you find it useful.


Mike Zanker
Department of Mathematics and Statistics
University of Newcastle upon Tyne
Newcastle
United Kingdom

Email: A.M.Zanker@ncl.ac.uk    (PGP 2.3a public key available)
