Re: problems with NSBeginAlertSheet
Re: problems with NSBeginAlertSheet
- Subject: Re: problems with NSBeginAlertSheet
- From: Enrique Zamudio <email@hidden>
- Date: Fri, 18 May 2001 13:00:40 -0500
- Organization: Nasoft
I haven't used that function but my guess is that the didEndSelector
will get called when the modal sheet session ends, regardless of what
button the user push to do so.
Does the documentation say anything about the signatured that the two
methods should have? because for a normal sheet session, it says that
the delegate method should be in the form of:
- (void)sheetEnded:(NSWindow *)win returnCode:(int)retcode
contextInfo:(void *)ci
so maybe that's the kind of selector you should pass to the function...
and depending on the value of retcode you decide whether or not to do
something.
eZL