


The runtime system contains a library routine called "W$MOUSE" that you can use to control the behavior of the mouse. You use this routine with the CALL statement in your COBOL program.
Before you use "W$MOUSE" to respond to mouse actions, be sure that you have unmasked the actions you want to notice.
The first parameter you pass to "W$MOUSE" is an operation code. This code tells "W$MOUSE" what to do. The number and type of the remaining parameters depend on the operation code. All parameters are passed by REFERENCE (the default in COBOL).
The valid operation codes are defined in the COPY file "acugui.def". So if you're going to use the W$MOUSE routine, add this statement to the Working-Storage section of your program:
copy "acugui.def"
The operation code can be one of the following:
More: