Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wait for wheel button up/down
#1
Hi,
Wait for wheel button up/down

This doesn't seem to be one of the options in the wait dialogs. Is it possible?

Thanks,
Stuart
#2
usually it is the same as middle button
#3
Hi,

I meant scrollwheel roll-up, scrollwheel rol-down, etc, not scrollwheel/downclick. These are differentiated in the trigger section, so I thought it could be done in wait statemetns.
Thanks,
Stuart
#4
3 ways:

1. If in a dialog, use WM_MOUSEWHEEL message. It comes to the focused control, so you would need to subclass controls.

2. Use a function that has wheel trigger. It could set a global variable, and the macro could wait for the variable.

3. Use low level mouse hook. Again, the communication between the hook function and the macro could be through a global variable.


Forum Jump:


Users browsing this thread: 1 Guest(s)