• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Supressing NSAlertPanel with time litmit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Supressing NSAlertPanel with time litmit


  • Subject: Supressing NSAlertPanel with time litmit
  • From: "Jajati Sahu" <email@hidden>
  • Date: Thu, 13 Sep 2007 09:42:35 +0530

I have created a NSGetCriticalAlertPanel  and run it by runModalForWindow:
method of NSApp. I have one "OK" button in the alert. Now I want to close
the alert panel after some delay (suppose 5 seconds) if  "OK" button is not
clicked within that time period. As it is runModal I am not able to close
the alert before "OK" button clicked.



Is there any way to close the runModal  NSAlertPanel giving time constraint.



Thanks

_______________________________________________

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

  • Follow-Ups:
    • Re: Supressing NSAlertPanel with time litmit
      • From: Stephane Sudre <email@hidden>
    • Re: Supressing NSAlertPanel with time litmit
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: NSBrowser background color
  • Next by Date: Re: Supressing NSAlertPanel with time litmit
  • Previous by thread: Re: Open dialog at launch time
  • Next by thread: Re: Supressing NSAlertPanel with time litmit
  • Index(es):
    • Date
    • Thread