[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
InitMouse()
Initialize the mouse driver.
------------------------------------------------------------------------------
Syntax:
InitMouse() --> NIL
Returns:
InitMouse() returns a NIL.
Description:
InitMouse() is used to setup the mouse driver. When the mouse
cursor, either an arrow or an hour glass, is displayed on the screen
it actually resides in video memory. It is therefore necessary
to turn the mouse off when performing a SAVESCREEN() or DISPBEGIN()
functions. If not, the mouse cursor will be saved and then
restored upon a RESTSCREEN() or DISPEND() respectively.
Special Features:
SMOOTH SCROLLING
The CUA-Clip mouse driver is quite unique. This driver offers
a smooth scrolling capability on VGA equipped systems. This
feature makes the mouse graphical and allows it to move pixel
by pixel across the screen.
VIRTUAL
It is a virtual mouse (ie. it takes care of itself). When the
mouse cursor is overwritten by your application, it will reappear
without having to turn it back on.
CLICK AHEAD BUFFER
This mouse driver queues the clicks it receives into the
click ahead buffer. This means that you will never miss a mouse
click or double click! The default buffer size is 10 clicks
(either single or double).
REAL DOUBLE CLICKS
Because this driver is interrupt driven with a queue, real double
clicks can be distinguish without the necessity to POLL the
mouse!
IMPORTANT:
Your application MUST issue a ClearMouse() prior to leaving
the application!
Files: Library is MOUSE.LIB.
See Also:
ClearMouse()
ResetMouse()
MOUSE.PRG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson