Supressing NSAlertPanel with time litmit
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