OnMouseWheel picture event


Declaration
Global handler:
 ENTRY OnMouseWheel(IN INT _x, _y, _direction, IN BOOL _bShift, _bCtrl, _bAlt)
 ; script actions
 END OnMouseWheel
Parameters
_xParameter of the INT type.
_yParameter of the INT type.
_directionParameter of the INT type.
_bShiftParameter of the BOOL type.
_bCtrlParameter of the BOOL type.
_bAltParameter 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 

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .