Path: utzoo!attcan!uunet!fernwood!oracle!news From: kdoshi@oracle.com (Ketan Doshi) Newsgroups: comp.windows.x Subject: Detecting a double-click Message-ID: Date: 27 Sep 90 18:48:16 GMT Sender: news@oracle.com Distribution: na Organization: Oracle Corporation, Belmont, CA Lines: 30 Is there a general way to detect a double-click in a window ? I want to be able to distinguish between 3 things the user can do. viz. a) Button press, drag and release. b) Single click. c) Double click. Let's say I need to take actions A, B and C in the 3 cases, respectively. Now, if I receive a click, I don't know whether it is a single-click (and should perform action B) or the first click of a double-click (and should perorm action C). I hope I was able to explain this properly. Any advice? Thanks, Ketan Doshi. -- ######################################################################### Ketan Doshi kdoshi@oracle.com Oracle Corp (415) 506-6239 Tools and User Interfaces #########################################################################