cristianbuse / VBA-UserForm-MouseScroll

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

VBA-UserForm-MouseScroll for Modeless UserForms #5

Closed Mike2069 closed 4 years ago

Mike2069 commented 4 years ago

Hello Cristian, you had created your mouse scroll function for userforms that are displayed modal. Could you also modify the function for userforms that are displayed modeless?

Best regards Mike

cristianbuse commented 4 years ago

Hi Mike,

Unfortunately no. At least not in the foreseeable future. The approach I've used (local thread mouse hook) does not work with a modeless userform. It simply freezes VBA. A different approach is needed.

Best Regards, Cristian

leipengshang commented 2 years ago

its sad.but still thanks for the amazing code

cristianbuse commented 1 year ago

Starting 76a384fb50d5bb2a5f6de49e287fe2fb774472d6 both Modal and Modeless forms are supported while debugging also works