MouseWheel Scrolling Bug Help!!!

  • Thread starter Thread starter GGGGGWWWWWW
  • Start date Start date
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?
 
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
 
Back
Top