home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SDN¹ Plus
/
SDN1_.cdr
/
sdn
/
lang
/
moustool.sda
< prev
next >
Wrap
Text File
|
1989-06-19
|
1KB
|
25 lines
MouseTools (v1.0) by Nels Anderson REGISTRATION ($10.00)
The use of a mouse as an input device is becoming increasingly common
in many types of programs. While this (usually) makes life easier for
the user, it certainly does make the programmer's job harder. Several
things I've worked on seemed to demand a mouse interface, so I ended
up writing my own utilities to use a mouse and I present them in this
package for you to use in your own Turbo Pascal 5.0 programs.
This set of utilities provides most of the necessary procedures to use
a mouse in your own programs, including:
o display the mouse cursor
o read mouse and button positions
o display various prompts with "push buttons"
o select filenames
To use these tools you will need Turbo Pascal 5.0 and you must have
the TP5 units Crt, Dos, Drivers, Fonts and Graph available. I've
provided you with two sample programs (mapedit.pas, cgaexp.pas) along
with the .tpu files for all the mouse tools. This should give you
enough to get started writing mouse programs in Turbo Pascal. The
source code for the units is not included.