• 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
Re: delaying processing mouse events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delaying processing mouse events


  • Subject: Re: delaying processing mouse events
  • From: Nicholas Riley <email@hidden>
  • Date: Sun, 8 Dec 2002 18:35:31 -0600
  • Mail-followup-to: Josh Anon <email@hidden>, email@hidden

On Sun, Dec 08, 2002 at 06:22:02PM -0600, Josh Anon wrote:
> 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.

How about not resetting the selection when you click on a selected
object?

--
=Nicholas Riley <email@hidden> | <http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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.

References: 
 >delaying processing mouse events (From: Josh Anon <email@hidden>)

  • Prev by Date: buttonType in NSButton
  • Next by Date: Re: "First Run" installation of Application support stuff?
  • Previous by thread: delaying processing mouse events
  • Next by thread: Re: delaying processing mouse events
  • Index(es):
    • Date
    • Thread