• 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: NSEvent timestamp is zero
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSEvent timestamp is zero


  • Subject: Re: NSEvent timestamp is zero
  • From: Graham Cox <email@hidden>
  • Date: Thu, 7 Jan 2010 22:09:36 +1100

On 07/01/2010, at 9:07 PM, email@hidden wrote:

> Once the operation is done and processed I don't want to respond to any previous mouse click events that remain in the event queue for that button.
> Filtering on the timestamp seemed like the way to go.


Or alternatively just flush the event queue?

- (void) discardEventsMatchingMask:(NSUInteger) eventMask beforeEvent:(NSEvent*) lastEvent;

NSWindow or NSApplication

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSEvent timestamp is zero
      • From: "email@hidden" <email@hidden>
References: 
 >NSEvent timestamp is zero (From: "email@hidden" <email@hidden>)
 >Re: NSEvent timestamp is zero (From: Rob Keniger <email@hidden>)
 >Re: NSEvent timestamp is zero (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: NSEvent timestamp is zero
  • Next by Date: Re: NSEvent timestamp is zero
  • Previous by thread: Re: NSEvent timestamp is zero
  • Next by thread: Re: NSEvent timestamp is zero
  • Index(es):
    • Date
    • Thread