On 22/08/2012, at 6:51 AM, Quincey Morris <quinceymor...@rivergatesoftware.com> wrote:
> Maybe you should show some code fragments. It's not clear whether the "modal > dialog" is itself intended to be a sheet, since 'runModalForWindow:' is going > to make it app-modal anyway, not document-modal (isn't it?). Yes, the secondary dialog is app-modal, as is the case for the Save panel. > > Is it a sheet on the sheet in the Save panel case? Perhaps the Save panel > does some more complex child window thing -- I notice that the "replace" > sheet doesn't have the same kind of shadow at the top as the "Save" sheet > does, but I don't know if that's significant. I solved my issue. It turned out that the modal loop for the secondary dialog was being stopped correctly, but the panel itself was not removed from the screen. Turns out you have to do that 'orderOut' step yourself, even though -runModalForWindow: handles the 'orderIn' for you. I use app-modal dialogs so rarely these days (used to be very common in Mac OS 7/8/9) that this is the first time I think I've run into that problem. --Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com