• 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: Can NSBeginAlertSheet call be dismissed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can NSBeginAlertSheet call be dismissed?


  • Subject: Re: Can NSBeginAlertSheet call be dismissed?
  • From: j o a r <email@hidden>
  • Date: Tue, 25 Oct 2005 18:34:40 +0200


On 25 okt 2005, at 18.24, Steve Sheets wrote:

Can the modal sheet Alert that appears with a NSBeginAlertSheet call be dismissed by the program without user interaction? Normally the alert window that this call creates is dismissed when the user click on one of the buttons (ex. Ok, Cancel). The appropriate selector action is called, and the window is dismissed. However, there are times when the status of the program has changed, due to network action or a timer, and I want to be able to dismiss the window without the user having to click on the OK or Cancel button. Is there a call to do this? Or should I create a modal alert sheet for the window in a different way?

See the "endSheet" methods in NSApplication.

j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Can NSBeginAlertSheet call be dismissed?
      • From: j o a r <email@hidden>
References: 
 >Can NSBeginAlertSheet call be dismissed? (From: Steve Sheets <email@hidden>)

  • Prev by Date: Black & White Menu?
  • Next by Date: Re: Can NSBeginAlertSheet call be dismissed?
  • Previous by thread: Can NSBeginAlertSheet call be dismissed?
  • Next by thread: Re: Can NSBeginAlertSheet call be dismissed?
  • Index(es):
    • Date
    • Thread