W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2008

Re: Wheel events

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Sun, 14 Dec 2008 23:14:53 +0200
Message-ID: <4945774D.9010605@helsinki.fi>
To: Travis Leithead <Travis.Leithead@microsoft.com>
CC: "public-webapps@w3.org" <public-webapps@w3.org>

Hi Travis,

On 12/09/2008 02:15 AM, Travis Leithead wrote:
>>> Pixel scrolling / line scrolling aren't "intended purpose". They are describing the data browser gets from the operating
> system.
> At least on Windows-OS, this binding of pixel/line scrolling to a wheel event does not exist. I think that the design taken for the OS-level event provides good design guidance for how the event could be used inside of a web application:
>> From MSDN (http://msdn.microsoft.com/en-us/library/ms645617.aspx) --
> wParam
> The high-order word indicates the distance the wheel is rotated, expressed in multiples or divisions of WHEEL_DELTA, which is 120. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user.

Windows doesn't have pixel/line scrolling but it *does* have page/line scrolling.
See http://msdn.microsoft.com/en-us/library/ms645601.aspx#_win32_The_Mouse_Wheel

Received on Sunday, 14 December 2008 21:15:25 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:13 UTC