Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
wheelDelta
Collapse the table of content
Expand the table of content

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft