Re: best way to refuse events?
Re: best way to refuse events?
- Subject: Re: best way to refuse events?
- From: Matt Neuburg <email@hidden>
- Date: Fri, 16 Aug 2002 19:17:29 -0700
On Sun, 11 Aug 2002 19:27:27 -0400, Sherm Pendley <email@hidden> said:
>
>
On Sunday, August 11, 2002, at 07:11 PM, Matt Neuburg wrote:
>
>
> I'd like to refuse events while I do some time-consuming stuff. I mean
>
> that
>
> any events that come in while I'm working (e.g. the user clicks a
>
> button)
>
>
Why not simply disable the controls that would generate those events in
>
the first place? You could either disable them individually, or present
>
a modal sheet or dialog with a progress indicator.
Because I don't want to. I want to do what I said I want to do - when I get
to the end of the process I want to throw away all pending events.
Basically I'm simply looking for the Cocoa equivalent of FlushEvents().
What is it? Thx - m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.