
This demo will illustrate the usage of the ViewList function.
In fact, ViewList is running this demo.

ViewList creates a scrolling list of text for use in your own
programs, just like this one.  You may use the mouse or the
arrow keys on the keyboard to move through the list, or the 
ESC key or right mouse button exits. The table below describes
all the ViewList capabilities and how your users perform them.

           Action...                        ...Keys
           ----------------------------------------
           Move up one line . . . . . . .  Up Arrow
           Move down one line . . . . .  Down Arrow
           Move up one screen . . . . . . . .  PgUp
           Move down one screen . . . . . . .  PgDn
           Move to top of list  . . . . . . .  Home
           Move to bottom of list . . . . . . . End
           Finished (exit)  . . . . . . . . . . Esc

Mouse support is also provided with ViewList.  Place the mouse
cursor on the up or down arrows on the scroll bar on the right
side of the window and press the left mouse button.  Placing
the mouse cursor on the internal portion of the scroll bar and
pressing the left mouse button will cause the list to scroll at
a faster rate, about a window's worth at a time -- useful for
long lists.  You may exit ViewList by clicking the right mouse 
button.

As mentioned above, the ViewList function provides a scroll bar
for use in scrolling through your list of text.  Located on the
right side of the window, it consists of two arrows and a vert-
ical bar, as well as an "elevator."  The elevator is a small
box that moves up and down the scroll bar automatically as the
user moves through the text, showing the current relative pos-
ition in the list.  This scroll bar is generated and handled
automatically for you by the ViewList routine.  Note that the
scroll bar shows up only if you are using a mouse.


