UNREGISTERMOUSEEVENT

QuickWin Function: Removes the callback routine registered for a specified window by an earlier call to REGISTERMOUSEEVENT.

Module: USE DFLIB

Syntax

result = UNREGISTERMOUSEEVENT (unit, mouseevents)

unit
(Input) INTEGER(4). Unit number of the window whose callback routine on mouse events is to be unregistered.


mouseevents
(Input) INTEGER(4). One or more mouse events handled by the callback routine to be unregistered. Symbolic constants (defined in DFLIB.F90 in the \DF98\INCLUDE subdirectory) for the possible mouse events are:


Results:

The result is of type INTEGER(4). The result is zero or a positive integer if successful; otherwise, a negative integer that can be one of the following:

Once you call UNREGISTERMOUSEEVENT, QuickWin no longer calls the callback routine specified earlier for the window when mouse events occur. Calling UNREGISTERMOUSEEVENT when no callback routine is registered for the window has no effect.

Compatibility

QUICKWIN GRAPHICS LIB

See Also: Using QuickWin, REGISTERMOUSEEVENT, WAITONMOUSEEVENT