it might be worth pointing out that these days I'd probably use a low level mouse hook for this rather than subclassing
What's a "low level mouse hook"? I've been using VB since version 1, but I've never felt the need to get deep into the real technical stuff.
In the old days, we used to call...
As long as I only subclass 1 grid, the mousewheel works fine. Maybe...
I don't know if there is any connection, but about the time I started using the mousewheel, I started having a problem that if I hit an error in my code while running it from inside VB6 and clicked End on the error message...
thread222-902639
I have a Visual Basic 6 project with 4 DataGrids which I want to be able to scroll with a mouse wheel. The DataGrid does not support this, so I am using the code from the thread referenced above, but as written, only one DataGrid can be set to scroll using:
lpPrevWndProc =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.