Renato Lima
03-30-2011, 02:26 PM
So, if you are getting the mouse state it returns 1, 2, 5.. etc.. .. and it works well, but if you hold your mouse button down and move the mouse away from the window - or if another window gets in the way of the mouse - vizard won't detect that the mouse state has changed and will keep reporting 1, 2, 5, whatever.. until you click with the mouse again in the program.
1) create an event to report the mouse state every 2 seconds.
2) click on the screen and move the mouse away from vizard's windoe
3) release the mouse
--> vizard will still report the mouse as having buttons pressed.
1) create an event to report the mouse state every 2 seconds.
2) click on the screen and move the mouse away from vizard's windoe
3) release the mouse
--> vizard will still report the mouse as having buttons pressed.