Skip to main content

[archive] Mouse events on window

  • November 17, 2010
  • 1 reply
  • 0 views

[Migrated content. Thread originally posted on 17 November 2010]

I'm trying to catpure mouse movement, and button clicks on a screen. Of course I'm using acubench and I cannot find any insertion points for mouse movement,click events on a screen. Any idea how to capture these?


I have added the following to the Keystatus under properties on my program, but still these things do not generate an event, exception or anything...

Mouse-Move 80
Mouse-Left-Up 81
Mouse-Left-Down 82

Edit: The right-click does generate the Ev-Other and it did before I added anything to the key-status.

1 reply

[Migrated content. Thread originally posted on 17 November 2010]

I'm trying to catpure mouse movement, and button clicks on a screen. Of course I'm using acubench and I cannot find any insertion points for mouse movement,click events on a screen. Any idea how to capture these?


I have added the following to the Keystatus under properties on my program, but still these things do not generate an event, exception or anything...

Mouse-Move 80
Mouse-Left-Up 81
Mouse-Left-Down 82

Edit: The right-click does generate the Ev-Other and it did before I added anything to the key-status.
Ok I have decided to just run a thread in the background to monitor the mouse using W$MOUSE, seems to do exactly what I am after.