OnMouseWheel picture event


Declaration
Global handler:
 ENTRY OnMouseWheel(IN INT _x, _y, _direction, IN BOOL _bShift, _bCtrl, _bAlt)
 ; script actions
 END OnMouseWheel

Parameters
_x Parameter of INT type.
_y Parameter of INT type.
_direction Parameter of INT type.
_bShift Parameter of BOOL type.
_bCtrl Parameter of BOOL type.
_bAlt Parameter of 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