Instructions for Installing the Screen Print Program
====================================================

1. What is it?

The NWS_SNAP.EXE is a VB 3.0 program that takes a snapshot of the screen and allows
the user to print the screen snapshot at different sizaes, with date and comments
attached. A DLL is also supplied that provides a generic mouse movement hook 
procedure to allow you to call any program when the mouse moves into a pre-
determined corner of the screen.

2. What is it for?

The mouse hook DLL can be used be any program to install a mouse hook so that whenever 
the mouse moves into a corner of the screen that you specify, the program that you 
specify is called.

The screen snapshot program is a useful program for installing with your beta test
application so that if it crashes, your user can still take a screen snapshot of the
error, add a comment and date and print, all in one step without having to mess around
with the clipboard and a paint program.

3. How do I set up the hook?

It's easy. Some VB 3.0 code follows that declares the functions and shows both 
installing and uninstalling the hook. Note that you should use only one hook at a
time.

4. How do I set up the program?

Just compile it and install it wherever is convenient. Set the path to the program
on the call to the hook function.

5. Code:

'These functions are in SNAPHOOK.DLL, a dll that monitors
'the screen for mouse movements and triggers NWS_SNAP.EXE
Declare Sub SetMouseMoveHook Lib "SNAPHOOK.DLL" (ByVal nHot As Integer, ByVal lpExeName As String)
Declare Sub UnSetMouseMoveHook Lib "SNAPHOOK.DLL" ()

Sub zSys_InstallScreenPrintHook ()
'   Install a mouse monitoring hook using the function
'   for that very purpose in SNAPHOOK.DLL. It takes 2
'   parameters, the first indicates which corner of the
'   screen is going to be the hotspot. The second contains
'   the executable name (with optional path) for the application
'   to be executed when the mouse is in the screen corner.
'   Corners are counted from the top-left, clockwise...
'   0, 1, 2, 3 where 3 is the bottom-left.		

    SetMouseMoveHook 3, "NWS_SNAP.EXE"

End Sub

Sub zSys_UninstallScreenPrintHook ()

    UnSetMouseMoveHook

End Sub





                  ---------------===---------------

OK, you're done. Enjoy.
Please remember, this software is freely distributable provided that it is not made
available for sale without the express written permission of Ninth Wave Software.
Copyright (c) Ninth Wave Software 1994. All rights reserved.

You can reach us at:
Ninth Wave Software
P.O. Box 13962
Scottsdale, AZ 85267
Tel: 602-816-0426
EMail: ninthwav@paloverde.com
