• 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
Close a alert sheet programatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Close a alert sheet programatically


  • Subject: Close a alert sheet programatically
  • From: "Peter Karlsson" <email@hidden>
  • Date: Thu, 6 Jan 2005 11:57:28 +0100

Dear list!

I use this code in my app to open a alert:

NSBeginAlertSheet(@"I have a message for you", @"Close", nil, nil,
myWindowOutlet, self, nil, nil, nil, "blah blah blah);

My question is, how do I close this alert programatically, without clicking
on the Close button in the alert?

Best regards Peter

 _______________________________________________
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: Close a alert sheet programatically
      • From: Denis Defreyne <email@hidden>
  • Prev by Date: Re: Ignore accents when comparing strings
  • Next by Date: Re: Close a alert sheet programatically
  • Previous by thread: Non-Document based apps and documents
  • Next by thread: Re: Close a alert sheet programatically
  • Index(es):
    • Date
    • Thread