On Mouse Wheel Event in XP

Kevin_S

Registered User.
Local time
Today, 13:17
Joined
Apr 3, 2002
Messages
635
Hi All,

I have been reading many posts on the subject of capturing the mouse wheel scroll to keep users with the wheel from scrolling/adding records in forms but I haven't seen an answer to this question so I thought I would post it here.

I have seen multiple posts on disabling the wheel with a dll file in 2000/97 but I have also seen a few (read: 1-2) posts on how you don't need to do all of these steps in XP and that you can use the 'On Mouse Wheel' event to do this for you. The only problem is these posts didn't give any example or indication on how to go about doing this...?

Does anyone have a reference/link/example on how to do this or is it even possible?

Thanks in advance...
Kev
 
Hi Tiger,

I tried searching in MS help for "mousewheel event" , "mouse wheel" , "& "mouse wheel event" and the only event property info retured was for mouse move, mouse up, and mouse down events and mousewheel property.

Mouse move, up, and down events offer no help with the wheel and the wheel property file in the help files only talks about what the wheel does.... no help with disabling it's ability to move records or discussion on the event procedure...

Any other suggestions?

Thx,
Kevin
 
See attached
 

Attachments

  • 273875.jpg
    273875.jpg
    72.4 KB · Views: 367
Hi Tiger/Illhoutx,

Tiger - For some reason when I tried to search for help on mouse wheel I didn't get any hits but I think the reason for that is that at my office we are running Office 2000 with XP programs so the win2000 helpfiles couldn't find the request in help even though it is an option in the software.

Now - I tried to implement the code in the event as shown in the helpfile you posted and it didn't work for me... the example is supposed to pop-up a message box stating the wheel had been used but I got nothing... did this work for you....???

Illhoutx - Did you have any luck with your example? I believe that is the version where you create a new dll file... if that is the case then I believe from reading other similar posts that you must also then package that dll with the program...? I am curious how this worked out for you...

Thanks,
Kevin
 

Users who are viewing this thread

Back
Top Bottom