• 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
beginSheetModalForWindow: and Distributed Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

beginSheetModalForWindow: and Distributed Objects


  • Subject: beginSheetModalForWindow: and Distributed Objects
  • From: Andrew Kimpton <email@hidden>
  • Date: Tue, 29 Apr 2008 21:05:44 -0400

I'm displaying a modal sheet for a Window using beginSheetModalForWindow: but I'm seeing that whilst the sheet is displayed new messages sent to the application using a previously registered NSConnection are not being handled.

I think this is because the run loops is not in NSDefaultRunLoopMode whilst the modal sheet is being displayed ?

Is there a way for me to register my NSConnection on whatever mode the run loop is in whilst the modal sheet is displayed ?

Or a way to run a modal sheet in a NSDefaultRunLoopMode so that my NSConnection messages are handled ? I looked at runModalSession: but I'm not sure that I can really use that to my advantage (and it seems like a rather complicated solution).

Thanks

Andrew 8-)
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: beginSheetModalForWindow: and Distributed Objects
      • From: Michael Vannorsdel <email@hidden>
  • Prev by Date: Re: View Getting MouseUp Without Corresponding MouseDown
  • Next by Date: Re: beginSheetModalForWindow: and Distributed Objects
  • Previous by thread: Re: Bug?:? CFPreferencesSynchronize() Remembers Value from Deleted File
  • Next by thread: Re: beginSheetModalForWindow: and Distributed Objects
  • Index(es):
    • Date
    • Thread