Anyone know what Windows Messages are for the forward and backward mouse buttons, for example I know how to get the mouse wheel...
... but not sure what the code would be for forward and backward buttons (on mouse button up),Code:If Msg = WM_MOUSEWHEEL Then Rotation = wParam / 65536 End If
So far I've got this but not sure its correct or not. ?
Code:If Msg = 524 Then '&H20C If wParam = 131072 Then '&H20000 ForwardButtonUp = True ElseIf wParam = 65536 Then '&H10000 BackwardButtonUp = True End If End If




Reply With Quote