here is how getmouse works

by mennonite (no login)

do
getmouse x,y,,c 'mousex, mousey,,buttons
if c=1:locate y+1,x+1:print "*"; 'button 1
loop until inkey$=chr$(27)
'note the lack of anything like _mouseinput, which getmouse doesn't need.

Posted on Jun 2, 2008, 6:41 AM
from IP address 193.200.150.189

Respond to this message   

Return to Index


Response TitleAuthor and Date
And this is why getmouse is bad... on Jun 2
 Wouldn't CALL INTERRUPT 33 also have that problem? on Jun 2
 but inkey$ will capture the esc keypress...mennonite on Jun 2
  totally plain and concise english is not my first language, it takes a while....mennonite on Jun 2
   I understand exactly what you are saying Mennonite on Jun 3
    i'll have to concede for practical reasons thenmennonite on Jun 3
     There's no reason you couldn't code your own "getmouse" routine on Jun 3
      isn't mousewheel just a button that you can click over and over?mennonite on Jun 3
       oh except that it is also a button, not just a wheelmennonite on Jun 3
        RE: Isn't the mouse wheel just a button? on Jun 4
         * Wouldn't ABSOLUTE and INTERRUPT code ignore that? on Jun 4
         *More mouse buttons than the normal 3? Oh! Those fancy ones with Back/Forward buttons? :-Prpgfan3233 on Jun 4