• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
delaying processing mouse events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

delaying processing mouse events


  • Subject: delaying processing mouse events
  • From: Josh Anon <email@hidden>
  • Date: Sun, 8 Dec 2002 18:22:02 -0600

Hi all,
I have an app with a view where you can drag objects, select objects, and double-click on objects. I do the selection processing in mouseUp:, respecting modifier masks. What I haven't been able to figure out, though, is if you select > 1 item and then double-click, how can I delay processing the mouseUp: so that I don't lose all the selected images? I'm considering putting a timer in mouseUp:, which mouseDown: can cancel, but that seems like it'd be a little slow before the user sees the selection.

Thanks,
Josh
--
//email@hidden || http://www.areax.net
"Ford, you're turning into a penguin. Stop it." -- Douglas Adams, Hitchhiker's Guide to the Galaxy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: delaying processing mouse events
      • From: Nicholas Riley <email@hidden>
  • Prev by Date: Subject: Re: Cocoa Book
  • Next by Date: buttonType in NSButton
  • Previous by thread: Re: Subject: Re: Cocoa Book
  • Next by thread: Re: delaying processing mouse events
  • Index(es):
    • Date
    • Thread