Newsgroups: comp.sys.mac.programmer Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!rochester!kodak!sunshine!deweese From: deweese@sunshine.Kodak.COM (Thomas Deweese) Subject: The list manager in a modal dialog. Message-ID: <1991Jun26.200949.28271@kodak.kodak.com> Keywords: Think C, List Manager, code resources Sender: news@kodak.kodak.com Organization: Eastman Kodak Co., Rochester, NY References: <1991Jun26.141635.11803@terminator.cc.umich.edu> Date: Wed, 26 Jun 91 20:09:49 GMT The heading says it all. But my real problem is a little more specific. I have set up a modal dialog with an active User_Item. I get the modal dialog, set things value, init the List, all goes well. Where I get into trouble is when I try to handle double clicks. (this is THINK C) ModalDialog(NULL,&item) switch(item) { . . . case 15: /*my user item*/ SetPort(myDlog); EventAvail(0,&theEvent); /*so that it will set up modifier fields*/ GlobalToLocal(&theEvent.where); if (LClick(theEvent.where,theEvent.modifiers,myList)) EditX(); break; } Now it sort of works but it ussually takes several clicks to get it to register as a double click. Why. Any help will be greatly appreciated. Thomas DeWeese deweese@kodak.com grendel@rpi.edu