Mouse wheel

Message generated when user rotates mouse wheel.

Parameters

A1 [out,1u]
Device: mouse - 3
A2 [out,1u]
Message type - 3
BX [out,4i]
X coordinate of cursor position
BY [out,4i]
Y coordinate of cursor position
CX [out,4f]
The distance the wheel is rotated in lines

Description

Message generated when user rotates mouse wheel. Only one wheel is supported. CX contains relative change that should be added to remembered scroll position. Unit of this value is a text line.

Positive value means rotation forward (from the user) and negative value backward (to the user).