Re: Modal run loop input sources (Chris Kane)
Re: Modal run loop input sources (Chris Kane)
- Subject: Re: Modal run loop input sources (Chris Kane)
- From: "Tony" <email@hidden>
- Date: Sun, 23 Sep 2001 12:41:04 -0400
Just to confirm:
Adding modal run loop mode to DO connection solved my problem (below).
Now I am able to pick up DO notifications while modal dialog is displayed.
Some people suggested that modal dialogs are in principle bad design but
I really don't know of a better way to disable menu, keyboard input into
*all* documents and inform user to wait until some other work is completed.
Tony
Re:
>
> I have a problem trying to accomplish the following:
>
>
>
> - first application should be disabled but present the dialog box
>
> informing user to wait
>
> - second application would send DO notification to first one, which
>
> would cause modal dialog box to be removed and user can continue
>
> working with the first app
>
>
>
> However, it looks like modal run loop would not pick DO notifications.
>
Did you try [connObject addRequestMode:NSModalPanelRunLoopMode] after
>
setting up the connection?
>
Chris Kane
>
Cocoa Frameworks,Apple