• 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
Re: problems with NSBeginAlertSheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: unloading bundled class
  • Next by Date: Re: Property List Question
  • Previous by thread: Re: problems with NSBeginAlertSheet
  • Next by thread: unloading bundled class
  • Index(es):
    • Date
    • Thread