[]
        
(Showing Draft Content)

C1.Util.Win.Win32.GET_WHEEL_DELTA_WPARAM

GET_WHEEL_DELTA_WPARAM Method

GET_WHEEL_DELTA_WPARAM(IntPtr)

Retrieves the wheel-delta value from the specified WPARAM value.

Declaration
public static int GET_WHEEL_DELTA_WPARAM(IntPtr wParam)
Parameters
Type Name Description
IntPtr wParam

The value to be converted.

Returns
Type Description
int

The return value is the high-order word representing the wheel-delta value. It indicates the distance that the wheel is rotated, expressed in multiples or divisions of WHEEL_DELTA, which is 120. 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.

Remarks

Use: WM_MOUSEWHEEL - zDelta