• 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
close sheet with app hidden
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

close sheet with app hidden


  • Subject: close sheet with app hidden
  • From: Mitchell Livingston <email@hidden>
  • Date: Thu, 04 Feb 2010 20:50:04 -0500

I have a sheet that shows a progress bar for a file being downloaded. It closes automatically, with no problems. The issue is, if I hide the app the sheet does not disappear - instead, it stays open. This only happens when the app is hidden.

The code to close it is:

[NSApp endSheet: fStatusWindow];
[fStatusWindow orderOut: self];


I have tried adding [NSApp abortModal] and [NSApp stopModal] without any luck. Is there anything I can do?
_______________________________________________

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

  • Prev by Date: Re: Dumb question about Core Data
  • Next by Date: Re: Dumb question about Core Data
  • Previous by thread: Re: Dumb question about Core Data
  • Next by thread: [ANN] CocoaHeads Paris group meeting
  • Index(es):
    • Date
    • Thread