Advertisement
5_2007-2008 Windows API Call/ Explanation #173092

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

Riepilogo AI: 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.

Codice sorgente
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.
Commenti originali (3)
Recuperato da Wayback Machine