Поделиться через


IDOMMouseWheelEvent interface

Provides properties and methods for mouse wheel movement.

Members

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

  • Methods
  • Properties

Methods

The IDOMMouseWheelEvent interface has these methods.

Method Description
initMouseWheelEvent

Initializes a new mouse wheel event that the IDocumentEvent::createEvent method created. For the standards based method, see IDOMWheelEvent::initWheelEvent.

 

Properties

The IDOMMouseWheelEvent interface has these properties.

Property Description

wheelDelta

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

 

Remarks

An IDOMMouseWheelEvent event can capture wheel rotation on a vertical axis only. To capture movement in all directions, use IDOMWheelEvent instead.

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

IDOMWheelEvent