Compartilhar via


wheelDelta property

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

 

Syntax

HRESULT value = object.get_wheelDelta(* p);

Property values

Type: long

The distance in pixels.

Standards information

There are no standards that apply here.

Remarks

To get the mouse wheel rotation in other directions, use the WheelEvent object.

See also

IDOMWheelEvent::deltaY