Lebans MouseHook.dll?

  • Thread starter Thread starter calvinX
  • Start date Start date
C

calvinX

Everyone here is praising this product, the version I am trying to use does
not work when hovering over checkboxes or listboxes, do I have the latest
version? Can someone tell me where the latest version is? Am I the only
Access developer who uses these controls?

If someone could shed some light on the situation then I would be grateful.

Thanks,

Calvin X
 
calvinX said:
Everyone here is praising this product, the version I am trying to use does
not work when hovering over checkboxes or listboxes, do I have the latest
version? Can someone tell me where the latest version is? Am I the only
Access developer who uses these controls?

If someone could shed some light on the situation then I would be
grateful.

I use this and my primary concern is stopping the behavior where the
MouseWheel causes the form to change records. I haven't experimented
extensively with any other behavior but here is what I find when testing:

When MouseHook is activated the MouseWheel no longer causes record changing
unless I operate the wheel over a multi-line TextBox. That causes the
record to change once after which it stops. I believe Stephan is working
on that issue.

The MouseWheel still allows scrolling when over ListBoxes, but not when
used on a dropped ComboBox.

I'm not sure what you mean by CheckBoxes. Are you saying that when over a
CheckBox the wheel causes record changes?
 
yes, what I am saying is that during my testing when I hover the mouse over
a check box control or over a list box control and scroll the mouse wheel
the form will move to a new record.
 
calvinX said:
yes, what I am saying is that during my testing when I hover the mouse over
a check box control or over a list box control and scroll the mouse wheel
the form will move to a new record.

I just tried this in a test file and could not duplicate that with either
ListBoxes or CheckBoxes. I'm using Access 97.
 
Thanks for steppping in her Rick and helping the OP out. I've been tied
up lately and missed this thread initially.
I cannot duplicate that behaviour either here with A2K or A2K2.

Calvin can you send me the MDB containing the form wher you see this
behaviour. I'd bee interested to see what curcumstances cause this
behaviour.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Id love to, but it is a 32 MB msaccess 2000 application and it may not go
over to well with my boss. I can describe the situation for you though.

I am using a databound main form and a series of databound subforms that
contain various controls. One of the sub forms has a whole bunch of
checkbox controls (or yesno controls or whatever they are actually called).
When I hover over these controls and I have disabled the mousewheel using
your method, the sub form moves to a new record. The list box problem
occured in the database I downloaded from your website on the main form of
that MDB application (I did not convert the DB mind you I only opened it).

I realize you are providing this code/fix for free so I do not expect you to
jump through hoops, this was just a heads up to the newsgroup in case
someone had a workaround for it.

I did manage to find an ActiveX control that does the job for me, with the
only difference being I have to add the control to each form, but I guess
beggars can't be choosers. The control I found was here:
http://www.papwalker.com/mousetra.html

Thanks guys

Calvin X
 
Back
Top