dismissing a modal NSAlertPanel programmatically
dismissing a modal NSAlertPanel programmatically
- Subject: dismissing a modal NSAlertPanel programmatically
- From: Salánki Benjámin <email@hidden>
- Date: Wed, 7 May 2003 13:29:28 +0200
Hi,
after doing some research I found tat NSApplication.h has a method that
returns the current modal window, and nil if none is present. now my
problem is that if I use NSRunAlertPanel() the application goes into
modal mode and i can't check if the modal window is present or not.
once i manually dismiss the panel, the method gets called and returns
nil, as no modal panel is present at that given time.
how can i work around this?
ben
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.