Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!cs.utexas.edu!usc!apple!arc!arc!steve From: steve@Advansoft.COM (Steve Savitzky) Newsgroups: comp.windows.x Subject: Re: Wanted: info on DOUBLE CLICKING displayed images Message-ID: Date: 30 Jan 91 01:53:21 GMT References: <139@davox.UUCP> Sender: @advansoft.com Distribution: usa Organization: Advansoft Research Corp, Santa Clara, CA Lines: 18 In-Reply-To: paul@davox.UUCP's message of 28 Jan 91 23:55:39 GMT Double-clicking in the Mac world is a (poor) substitute for not having enough buttons on your mouse. There are occasions where it is appropriate, however. It is possible, and in my opinion preferable, to implement double-clicking *without* time constraints, by simply detecting a second click in the same location as the previous one. Usually, a click is used to select an object or position a cursor, in which case you simply define a different meaning for clicking on an object or position which is already selected. I have used this semantics to implement a browser in Gnu Emacs. Note that whatever you do, you have to make sure that the single-click action is harmless, since it's what will happen if the user blows the timeout. I have found, watching a number of beginning Mac users, that the timeout on double-clicking can be hard to get right, and very puzzling when it fails ("but I *did* click it twice!"). -- \ --Steve Savitzky-- \ ADVANsoft Research Corp \ REAL hackers use an AXE! \ \ steve@advansoft.COM \ 4301 Great America Pkwy \ #include \ \ arc!steve@apple.COM \ Santa Clara, CA 95954 \ 408-727-3357 \ \__ steve@arc.UUCP _________________________________________________________