Description:
============

Title   : Free API Toolkit includes Auto-Shutdown, Tray, WinEvent etc
Keywords: ENDSESSION SHUTDOWN WINDOWS CLOSE TRAY ICON FILENAMES REGISTRY SAVE API 

TEMPLATE:  Free API Toolkit
- A template for CW 2.0 (and 1.5) that will allow your 16- and 32-bit
  applications to politely close down when Windows closes down, instead
  of the default CW action of cancelling the Windows shut down.
- Use the Win 95 / NT 4.0 icon tray (32-bit)
- Gives access to all windows messages (events)
- Enumerate active windows (32-bit)
- Translate long file names to short, and vice versa
- Use the standard Windows common file dialog (multiple file selection)
- Run an application as an NT Service (32-bit, NT)
- Use the Windows 95/NT registry
- Get the Windows 95/NT network user name
- Save control formats (mainly list boxes)
- Add a simple print button that calls procedures based on browse tab
- Set report font at runtime (with user selection).
- Set date format for all date fields at runtime.
- Move sequenced items up/down on a browse.
- Customizing pop-ups for list boxes
- Version 1.3, freeware.

How to install:
===============

  Unzip this archive into your template directory.

  You must register VSAPITK.TPL before you can use this template.
  If you have used it previously, it is recommended that you unregister
  and then register it.

  For C4 ABC support, also register VSAPIC4.TPL.


Improvements in this version (compared to the SHUTDOWN template):
=================================================================

- Now only requires one extension to be added.  All settings are in
  one place.
- Code is primarily placed in the module with the calling procedure
  rather than in the global section (saves compiling time).
- Icons can be entered with their actual names rather than having
  to be entered with an underscore replacing the period.  (In other
  words, you can enter THIS.ICO rather than THIS_ICO).  If a period
  is used, the icon is added to the project automatically.
- Variables can be used for the icon name, and tray icon tool tip.
- The icon can be animated.
- Lots and lots of EMBED points.


Upgrading from the SHUTDOWN template:
=====================================

(1)  Remove the old template from your application, noting your
     settings.  (Two places:  Global, and Main Procedure)
(2)  Add the SUBCLASS extension to your main procedure, and
     re-enter your settings.


Upgrading from previous versions:
=====================================

Simply unregister, then register this template after unzipping the
archive as described above.


Yes it's free, but...
=====================

- Please send your improvements to the author.
- Please consider releasing your small enhancement templates
  to the Clarion community for free.
- Thanks to everyone in the Clarion community who helped
  with these templates, both with feedback, and with examples.


Contacting Me
=============

Internet Email:  sorev@dlcwest.com
Web:             http://www.dlcwest.com/~sorev
Voice/Fax:       (306)789-4328

Mail:            Vince Sorensen
                 6 Armstrong Bay
                 Regina SK  S4N 4G7
                 Canada
