I am trying to send a mouse event using data from a WM_MOUSEWHEEL event that I saved in eventmsg.
I am not able to determine from the eventmsg paramH or paramL if the mouse was scrolled up or down. If I can determine that I can simply make WHEEL_DELTA ( 120 or -120) to send a 1 click scroll up or down in my mouse_event statement.
My question is, how can I determine mouse scroll direction from the data saved in eventmsg
Public Type EVENTMSG
message As Long
paramL As Long
paramH As Long
time As Long
hwnd As Long
End Type
mouse_event MOUSEEVENTF_WHEEL Or MOUSEEVENTF_ABSOLUTE, 0, 0, WHEEL_DELTA, 0