Controlling a wheel-mouse in a browse

EDieppe

New Member
Hello,

I'm looking to find a way to have some control when a user uses a wheel
mouse in a browser under Windows (NT and V9).

By now, I'm unable to trap any events when the wheel is used.

I need it because the uncontrolled use of the wheel produces some strange
results in some programs with updateable browse.


I tried all the available events for the mouse with no success.


Any help appreciated.

Edieppe:
 

NickA

Member
I've never tried this but...

I've never tried this, but as no-one else has responded since you posted, I thought the following might help point you in the right direction.

You might get some luck using the fabled MessageBlaster OCX (Which intercepts Windows messages), together with reviewing the 'Mouse Input' section of the Windows platform SDK. There's a message called 'WM_MOUSEWHEEL' (522 dec, 020A hex) that I think you need to trap.

http://www.geocities.com/SiliconValley/Pines/3475/msgblst.htm

http://msdn.microsoft.com/library/en-us/winui/mousinpt_5rjo.asp?frame=true

HTH
 

paulclif

New Member
Contolling a wheel-mouse in a browse

For the technically challenged: (myself included!)

1. Connect to sports

2. Create a wrx file by saving a standard window with the Message Blaster control (msgblst32.ocx) as the only element in the window. Save the file as mw.w You will only use the mw.wrx file.

3. Set propath to contain the location of mw.wrx.

4. Run the attached code mw.p.
 

Attachments

  • mw.p
    1.6 KB · Views: 129
Top