Hi all,

I have a need to display a modal dialog from a document-modal sheet.

I display the dialog OK but I can't dismiss it. I use [NSApp 
stopModalWithCode:<blah>] and I show the dialog using [NSApp 
runModalForWindow:<bleh>];

I tried using a modal session but got the same outcome.

What's the correct way to nest a modal dialog within a document-modal sheet?

BTW, before there are howls of protest from the UI police,  there is precedence 
for this -  in the Save Panel, when it needs to prompt whether to replace a 
file or not. I'm trying to do something similar.


--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

Reply via email to