close sheet with app hidden
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