• 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: Modal run loop input sources (Chris Kane)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: OverLoad Constructor in multiple nibs (java-cocoa)
  • Next by Date: Re: static typing (Learning Cocoa Chapter 13)
  • Previous by thread: OverLoad Constructor in multiple nibs (java-cocoa)
  • Next by thread: isExcludedFromWindowsMenu, NSBorderlessWindowMask
  • Index(es):
    • Date
    • Thread