Mouse Wheel -- multi layer forms

P

Pixie

I have read and successfully created and used the dll
method outlined in Q278379. However, I have one form that
is remaining open in the background as it opens Form2.
The stop scroll works on Form1 until I open Form2 (where
it also works at this point). Then when Form2 closes and
returns to Form1, the stop scroll no longer functions on
Form1 (the close event on Form2 reset the clsMouseWheel to
nothing after unhooking that form).

Suggestions on where to place the code so that Form1's
stop scroll still works after Form2 closes?

Suggestions on how to set the mousewheel off for the whole
application when it loads, rather than just a single form?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top