Re: best way to refuse events?
Re: best way to refuse events?
- Subject: Re: best way to refuse events?
- From: "Timothy J. Wood" <email@hidden>
- Date: Fri, 16 Aug 2002 23:25:21 -0700
On Friday, August 16, 2002, at 10:05 PM, Lance Bland wrote:
sorry, but I haven't been reading this thread...but what about...
-[NSApplication discardEventsMatchingMask:beforeEvent:currentEvent];
It is documented, but doesn't seem to work right, at least it gives a
error to the console when we use it in one section...
We have workarounds, but I'm hoping Jaguar fixes it so I can use it
again.
As far as I see from the documentation, this requires you to pass in
a terminating event instead of a terminating time. You can't pass the
current event since nothing will end up getting discarded
(-currentEvent returns the last event returned by
-nextEventMatchingMask:...).
-tim
_______________________________________________
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.