The search function of the forum is a wonderful thing. It brings up nuggets like the following one in no time:
This is a bit of a hack, to work around deficiencies of MS-Windows api’s. On Linux, GetMouseWheel provides a more elegant solution.
GetMouseWheel
-mario