On 07/01/2010, at 9:07 PM, [email protected] 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to