CBL_READ_MOUSE_EVENT
Reads the mouse event queue and returns information about an event.
Syntax:
call "CBL_READ_MOUSE_EVENT" using mouse-handle
event-data
read-type
returning status-code
Parameters:
On Entry:
mouse-handle |
Mouse identifier, obtained by earlier call to CBL_INIT_MOUSE. |
read-type |
Indicates what to do if there are no events in the queue:
0 |
Return immediately |
1 |
Wait for an event and then return | |
On Exit:
Comments:
If there are no events in the event queue, the return from this routine depends
on the value of read-type. If read-type is zero, the routine returns immediately
with all zero values in event-data. If read-type has a value of one, return
is delayed until an event has been queued.
The CBL_ mouse routines do not work with the x"AF" mouse routines.
See Also: