Re: AppleEvents and modal dialogs

2009-05-08 Thread Sean McBride
On 5/8/09 12:16 PM, James Walker said: >I have a mostly-Carbon app that runs some Cocoa modal dialogs using >-[NSApplication runModalForWindow:]. If an Apple Event (such as 'odoc') >arrives while such a dialog is showing, it just gets eaten. I'd like to >have it either handled or deferred. I tr

Re: AppleEvents and modal dialogs

2009-05-08 Thread Uli Kusterer
On 08.05.2009, at 21:16, James Walker wrote: I have a mostly-Carbon app that runs some Cocoa modal dialogs using - [NSApplication runModalForWindow:]. If an Apple Event (such as 'odoc') arrives while such a dialog is showing, it just gets eaten. I'd like to have it either handled or deferre

AppleEvents and modal dialogs

2009-05-08 Thread James Walker
I have a mostly-Carbon app that runs some Cocoa modal dialogs using -[NSApplication runModalForWindow:]. If an Apple Event (such as 'odoc') arrives while such a dialog is showing, it just gets eaten. I'd like to have it either handled or deferred. I tried creating an NSApplication delegate o