Retrieves the distance and direction the wheel button has rolled.
HRESULT IHTMLEventObj4::get_wheelDelta(long *p);
- Pointer to a variable of type long that receives the distance and direction that the wheel button has rolled.
Returns S_OK if successful, or an error value otherwise.
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