MouseLowLevelHookStructMouseData Field

If the message is WM_MouseWheel, the high-order word of this member is the wheel delta.

( The low-order word is reserved. )

A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user.

One wheel click is defined as WHEEL_DELTA, which is 120.

If the message is WM_XButtonDown, WM_XButtonUp, WM_XButtonDblClk, WM_NcXButtonDown, WM_NcXButtonUp, or WM_NcXButtonDblClk, the high-order word specifies which X button was pressed or released, and the low-order word is reserved.

This value can be one or more of the following values. Otherwise, mouseData is not used.

Definition

Namespace: DevCase.Win32.Structures
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public int MouseData

Field Value

Int32

See Also