Controlling wheelmouse events in a combo box...

G

Geoff Taylor

I have a combo box on a form, used to select records and it is working
really well.
However, I find that users who fiddle with their wheel mouse wheel produce
unwanted effects.
When the drop-down selection list is visible, then the wheel will scroll the
list - that's not so bad.
However when the drop down is not yet selected, using the mouse wheel
produces apprently random selections.

What I need to do is to turn off the wheel events or at least capture them
to a reproducable action.

The documentation mentions a mousewheel event, but I cannot find any
examples of how to use it.

Any suggestions?
 
G

Geoff Taylor

It seems that this is a common problem with no solution within Access.
However, there have been a few workarounds involving specific dlls that
people have written.
By including in your project the associated module that links to the
external dll and making a cll to it, you can turn off many of the actions of
the wheelmouse.

Search for "Mousehook.dll" for solutions.
This one worked for my problem...
http://www.lebans.com/mousewheelonoff.htm
 

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