• 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 mouseDragged event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Delaying mouseDragged event


  • Subject: Delaying mouseDragged event
  • From: Rick Bischoff <email@hidden>
  • Date: Sun, 27 Jun 2004 06:22:50 -0500

Hello,

Following the advice of "joar" from my previous question, I have tried to implement code to check for a pixel difference between a "mouseDown" and a "mouseDragged" to know if I should start a drag and drop. However, I am clueless as to how I would go about telling the event system "Ok, I am not really interested in this mouseDragged, but If the user move the mouse another couple pixels go ahead and send me one again."

Should I go into a loop similar to :http://developer.apple.com/documentation/Cocoa/Conceptual/ BasicEventHandling/index.html#//apple_ref/doc/uid/10000064i

where I capture all mouse events for my view? Is there a better way?

Thanks,
Rick Bischoff
Blog, and home for some MacOS X apps -- http://rickjr.org
_______________________________________________
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 mouseDragged event
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Cocoa Java resources?
  • Next by Date: Re: Rotating Images....
  • Previous by thread: bundle type and creator?
  • Next by thread: Re: Delaying mouseDragged event
  • Index(es):
    • Date
    • Thread