Computer Science Canada

How to distinguish between right and left mouse clicks.

Author:  s_climax [ Sun May 02, 2004 12:26 pm ]
Post subject:  How to distinguish between right and left mouse clicks.

mousewhere(x,y,p)

only lets you know that either the left or right is pressed. How can I check if the right mouse button is pressed?

Author:  Tony [ Sun May 02, 2004 12:47 pm ]
Post subject: 

code:

var x,y,b:int
Mouse.ButtonChoose ("multibutton")
loop
Mouse.Where(x,y,b)
put b
end loop

left is 1
middle (scroller wheel) is 10
right is 100

Author:  s_climax [ Sun May 02, 2004 1:55 pm ]
Post subject: 

thanks


: