Partager via


IDOMWheelEvent interface

Implements methods and properties that are unique to wheel rotation events.

Members

The IDOMWheelEvent interface inherits from the IDispatch interface. IDOMWheelEvent also has these types of members:

  • Methods
  • Properties

Methods

The IDOMWheelEvent interface has these methods.

Method Description
initWheelEvent

Initializes a new mouse wheel event that the IDocumentEvent::createEvent method created.

 

Properties

The IDOMWheelEvent interface has these properties.

Property Description

deltaMode

Gets a value that indicates the unit of measurement for delta values.

deltaX

Gets the distance that a mouse wheel has rotated around the x-axis (horizontal).

deltaY

Gets the distance that a mouse wheel has rotated around the y-axis (vertical).

deltaZ

Gets the distance that a mouse wheel has rotated around the z-axis.

 

Remarks

The Document Object Model (DOM) wheel events allow you to specify rotation in all the cardinal directions. For simple mouse wheel movement, see IDOMMouseWheelEvent.

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch