I cant seem to figure out how to determine if the mouse wheel is scrolled up or down after the WM_MOUSEWHEEL event has occured. Microsoft states the wParam value will contain the WHEEL_DELTA value in the high-order word. How do I get the wParam value? Please help me, I have threads going in 4 vb coding forums including microsoft's msdn, and I cant seem to find an answer.
http://msdn.microsoft. com/library/default.asp?url =/library/en-us/winui/winui/windowsuserinte rface/userinput/mouseinput/mouseinputrefer ence/mouseinputmessa ges/wm_mousewheel.a sp
****I am using JournalRecordPr oc
Public Function JournalRecordPr oc(ByVal Code As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
**** and doing this
CopyMemory tEVENTMSG, ByVal lParam, Len(tEVENTMSG)
**** where tEVENTMSG is structed as follows
Public Type EVENTMSG
message As Long
paramL As Long
paramH As Long
time As Long
hwnd As Long
End Type
paramL and paramH do not contain the DWORD value to retrieve WHEEL_DELTA
http://msdn.microsoft. com/library/default.asp?url =/library/en-us/winui/winui/windowsuserinte rface/userinput/mouseinput/mouseinputrefer ence/mouseinputmessa ges/wm_mousewheel.a sp
****I am using JournalRecordPr oc
Public Function JournalRecordPr oc(ByVal Code As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
**** and doing this
CopyMemory tEVENTMSG, ByVal lParam, Len(tEVENTMSG)
**** where tEVENTMSG is structed as follows
Public Type EVENTMSG
message As Long
paramL As Long
paramH As Long
time As Long
hwnd As Long
End Type
paramL and paramH do not contain the DWORD value to retrieve WHEEL_DELTA
Comment