Path: utzoo!attcan!uunet!hodge!pnet06!thecloud From: thecloud@pnet06.cts.com (Ken Mcleod) Newsgroups: comp.sys.mac.programmer Subject: Re: Help! My program disables Finder double-clicking somehow. Message-ID: <217@hodge.UUCP> Date: 8 Jun 88 08:32:17 GMT Sender: rusty@hodge.UUCP Organization: People-Net [pnet06], Orange, CA Lines: 20 ark@ritcv.UUCP (Alan Kaminsky) writes: >In the Finder I can double-click on my program's icon, and it launches, as >expected. My problem is this: After my program quits and returns to the >Finder, double-clicking no longer works! Your program is disabling mouseUp events, which the Finder apparently needs to recognize a double click. In all probability, you're calling SetEventMask to mask out mouseUp events; just call SetEventMask(everyEvent) and double-clicking should "return to normal." There is a nice warning on p.70 of Inside Macintosh Vol. II about the use of SetEventMask! Disclaimer: This information represents my opinion only, and has not been cleared with an astrologer first. Ken McLeod ========================= ....... ====================== UUCP: {crash uunet}!pnet06!thecloud :. .: "Fear, surprise, and ARPA: crash!pnet06!thecloud@nosc.mil :::.. ..::: ruthless efficiency. INET: thecloud@pnet06.cts.com ////