cristianbuse / VBA-UserForm-MouseScroll

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

Support for WebBrowser-Control? #8

Closed asdfghjkl2016 closed 2 years ago

asdfghjkl2016 commented 2 years ago

Hi Cristian, it's me again. :) Is there an way to support the WebBrowser-Control? Greetings

cristianbuse commented 2 years ago

Hi Max,

Unfortunately the WebBrowser control does not have a MouseMove event so I cannot set the LastHoveredControl directly. However, I've added a HTMLDocument control and that seems to do the job but you will need an extra reference for the Microsoft HTML Object Library.

I've added all the needed details in the Other Controls section of the readme.

Cheers, Cristian

cristianbuse commented 2 years ago

Hi Max,

Forgot to ask, can you please let me know if the WebBrowser control works? Thanks!

asdfghjkl2016 commented 2 years ago

Hi Cristian, sorry mail was in Spam-Folder. Yes, it works, great, thanks!

cristianbuse commented 11 months ago

Starting 76a384fb50d5bb2a5f6de49e287fe2fb774472d6 both Modal and Modeless forms are supported while debugging also works. There is no need to handle other controls separately (e.g. WebBrowser) as they will work by default