When modal window is started up the application stops carrying out other 
processes. How to work out this issue?
Cod:
- (void)showCustomDialog: (NSWindow *)window widi:(NSPanel *)windowDialog
{

    if (!windowDialog)
        [NSBundle loadNibNamed: @"MyCustomDialog" owner: self];
    [NSApp beginSheet: windowDialog
            modalForWindow: window
            modalDelegate: nil
            didEndSelector: nil
            contextInfo: nil];
    [NSApp runModalForWindow: windowDialog];
    // Dialog is up here.
    [NSApp endSheet: windowDialog];
    [windowDialog orderOut: self];

}




      ________________________________________________________
Вы уже с Yahoo!? 
Испытайте обновленную и улучшенную. Yahoo! Почту! http://ru.mail.yahoo.com
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to