MouseWheel Scrolling Bug Help!!!

G

GGGGGWWWWWW

I have Ms Office XP Enterprise. I would prefer not to use
mousewheel dll or register to disable mouse from scrolling
through forms for the purpose of distribution.

I am trying to figure what to do with the code I have that
came with Access 'Form.mousewheel' returned with event
procedure signature through a value with a textbox. I also
have an event in form 'Private Sub Form_Mousewheel(ByVal
Page As Boolean, ByVal Count As Long)' I tried to put
return zero on mousewheel to disable from scrolling
through form in this event, it won't work because it
occured after a scroll.

Any suggestion?
 
D

Dirk Goldgar

GGGGGWWWWWW said:
I have Ms Office XP Enterprise. I would prefer not to use
mousewheel dll or register to disable mouse from scrolling
through forms for the purpose of distribution.

I am trying to figure what to do with the code I have that
came with Access 'Form.mousewheel' returned with event
procedure signature through a value with a textbox. I also
have an event in form 'Private Sub Form_Mousewheel(ByVal
Page As Boolean, ByVal Count As Long)' I tried to put
return zero on mousewheel to disable from scrolling
through form in this event, it won't work because it
occured after a scroll.

Any suggestion?

As far as I know, the MouseWheel event can't be cancelled, nor readily
used to keep the user from scrolling with the mouse. See Stephen
Lebans' MouseHook solution at

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