wheelDelta property

Retrieves the distance and direction the wheel button has rolled.

Syntax

```HRESULT value = object.get_wheelDelta(* p);
```

Property values

Type: long

the distance and direction that the wheel button has rolled.

Remarks

This property indicates the distance that the wheel has rotated, expressed in multiples of `120`. A positive value indicates that the wheel has rotated away from the user. A negative value indicates that the wheel has rotated toward the user.

IHTMLEventObj4::wheelDelta was introduced in Microsoft Internet Explorer 6