ENTRY OnMouseWheel(IN INT _x, _y, _direction, IN BOOL _bShift, _bCtrl, _bAlt)
; script actions
END OnMouseWheel
Parameters
_x
Parameter of the INT type.
_y
Parameter of the INT type.
_direction
Parameter of the INT type.
_bShift
Parameter of the BOOL type.
_bCtrl
Parameter of the BOOL type.
_bAlt
Parameter of the BOOL type.
Description
The picture event is generated when scrolling the mouse wheel over the picture. The value of _direction defines direction of rotation (positive/negative value) and its size. According to documentation for MS Windows, this value is a multiple of 120. The parameters _bShift, _bCtrl, _bAlt define the pressing of SHIFT, CTRL or ALT key at that time. The parameters _x and _y defines the position of mouse cursor within coordinates of appropriate picture.
Example
ENTRY OnMouseWheel(IN INT _x, _y, _direction, IN BOOL _bShift, _bCtrl, _bAlt)
;akcie
END OnMouseWheel
Pridať komentár