jmm@thoth8.berkeley.edu (02/08/88)
(What's the status of comp.sys.mac.programmer? We get a few messages in it at our site, but is it 'official' and reliable?) Question #1: I'm having trouble detecting double-clicks when I'm using lists. LClick doesn't seem to want to ever return true, no matter how fast I punch the button. Here's a skeleton of my code: if GetNextEvent(theEvent,everyEvent) then case theEvent.what of mouseDown: MouseCode(theEvent); ... procedure MouseCode(theEvent:eventrecord); begin ... SetPort(windowWithTheList); GlobalToLocal(theEvent.where); if LClick(theEvent.where,theEvent.modifiers,myList) then stuff; ... end; "stuff" is never executed. What's going on? / James Moore / | jmm@bartleby.berkeley.edu / / |--------------------------------------------| / Ma ta Gaeilge agut, / | Nil aon speis ag Ollscoile na | / scriobh i! / | California im bharulacha fein. |