Advertisement
ASP_Volume2 Windows API Call/ Explanation #30212

How to detect if mousewheel scrolls

This snippet will detect if the mouse wheel scrolls, it does not detect if there is a scroll up/down, i do not know how to do that.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
on the timer function, type....
Dim amsg As Msg
GetMessage amsg, 0, 0, 0
DispatchMessage amsg
If amsg.message = 522 Then 
 list1.additem "Mouse wheel scrolled"
end if
'that is all, hope it comes useful.
Original Comments (3)
Recovered from Wayback Machine