| Mouse Programming |
|
| Prior Next | ||||||||||||||||||||||||||||||||||||||||||
|
The MOUSE can be used within ProvideX to control input and as a pointing device. The directive SETMOUSE and the system variable MSE are used to interface with the mouse. To enable the MOUSE logic in ProvideX the program must execute a SETMOUSE ON directive. To disable it execute a SETMOUSE OFF. While the mouse is enabled, the system variable MSE can be referenced to determine the mouse status and position.
| ||||||||||||||||||||||||||||||||||||||||||
|
Simple Mouse Usage |
The standard ProvideX input handler intercepts mouse clicks and generates a pseudo input terminator (EOM value). These are:
These EOM values may be assigned to a CTL value form the purposes of interfacing to a program. Three special CTL values are provided in order to interface the mouse to your program, they are:
The default setting for ProvideX is to map the following:
| |||||||||||||||||||||||||||||||||||||||||
| Prior Next |