cristianbuse / VBA-UserForm-MouseScroll

Use the Mouse Scroll Wheel to scroll VBA UserForms and Controls
MIT License
70 stars 12 forks source link

Not working except zooming. #37

Closed kaz4ikeda closed 5 months ago

kaz4ikeda commented 5 months ago

I don' t know this is an issue or my simple misuse. I downloaded the zip file and, to be sure, remove and re-import the modules MouseScroll and MouseOverControll in the xlsm file. The demo macro runs without any errors but none of controls responds to mouse wheeling except zooming with control key. In the attached video, I'm wheeling a mouse when the cursor stops. My environment: 13th Gen Intel i7, 32GB RAM, Windows 11 23H2 22631.3296

https://github.com/cristianbuse/VBA-UserForm-MouseScroll/assets/26346697/c7df893e-ba04-4667-af09-5bc3b0082562

cristianbuse commented 5 months ago

Hi @kaz4ikeda ,

By any chance, do you use X-Mouse Button Control (XMBC)?

If yes, then please see this for the fix.

if no, then do you use any other specialized mouse software?

kaz4ikeda commented 5 months ago

Thank you for reply, @cristianbuse . Exactly I use XMBC. And also I deeply use StrokesPlus (Older version with Lua language). Both software was the cause of this issue. XMBC can be set by your suggestion, but I can't figure out coexistence of StrokesPlus and your great mouse scroll modules.

kaz4ikeda commented 5 months ago

After some trial and error, I found a checkbox in S+ preferences which seems to influence the VBA mouse scrolling. As shown in the attached image, VBA scroll works after unchecking Enable Mouse Wheel Relay of S+. I remember that this checkbox was initially unchecked, but check and re-uncheck finally make VBA scrolling work. This weird behavior may be related to the fact that the function in S+ is experimental. 20240330_2318_40443

cristianbuse commented 5 months ago

Many thanks @kaz4ikeda for your feedback!

Added a link to you fix above in 3992e883f78e92ffe354dd444834a5013d4dc4a3