
-----------------------------------
s_climax
Sun May 02, 2004 12:26 pm

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?

-----------------------------------
Tony
Sun May 02, 2004 12:47 pm


-----------------------------------

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

-----------------------------------
s_climax
Sun May 02, 2004 1:55 pm


-----------------------------------
thanks
