saj@chinet.chi.il.us (Stephen Jacobs) (03/21/89)
Having just tweaked the button event detecting structures in a program on the basis of 'This part still doesn't work right, but that part does, so let's copy some of that over here', I am acutely aware that I don't really understand button events. Likewise direct sensing of the mouse button states. This is AFTER reading everything I could get my hands on. Would someone who REALLY KNOWS care to post a little something on the answers to 1)When does a button event occur (especially this situation: you wait for 1 click, ending with the button DOWN. Is it an event when the button is subsequently released)? 2)What button event requests wait for a possible double click before return- ing? More to the point, which ones return immediately on press (or on up). 3)In what situations is it necessary to watch out for contact bounce when looking at mouse button states? What are mimimum adequate precautions? As I said, my program works now, so I don't need the information right away. But NEXT time I'll start just as badly off unless someone answers these questions (and probably some I haven't thought of). Steve J.