• 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: Displaying an alert box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying an alert box


  • Subject: Re: Displaying an alert box
  • From: Stéphane Sudre <email@hidden>
  • Date: Mon, 15 Oct 2001 12:17:42 +0200

On dimanche, octobre 14, 2001, at 05:02 , David McCabe wrote:

How about in Objective-C?

On Saturday, October 13, 2001, at 06:32 PM, Simon Wright wrote:

On Saturday, October 13, 2001, at 08:30 PM, David McCabe wrote:

Greetings,

I would like to have my application display an alert panel which comes to the foreground above all other applications. Despite the simplicity of this task, I have found nothing in the documentation about displaying alerts of any kind, except a small bit on sheets. Can any of you help?

Thanks!

How about CFUserNotification ?

SInt32 CFUserNotificationDisplayAlert(CFTimeInterval timeout, CFOptionFlags flags, CFURLRef iconURL, CFURLRef soundURL, CFURLRef localizationURL, CFStringRef alertHeader, CFStringRef alertMessage, CFStringRef defaultButtonTitle, CFStringRef alternateButtonTitle, CFStringRef otherButtonTitle, CFOptionFlags *responseFlags);


  • Follow-Ups:
    • Re: Displaying an alert box
      • From: Douglas Davidson <email@hidden>
    • Re: Displaying an alert box
      • From: Marc Laffitte <email@hidden>
References: 
 >Re: Displaying an alert box (From: David McCabe <email@hidden>)

  • Prev by Date: Re: Watching a directory
  • Next by Date: Little problem with NSFormatter way of working
  • Previous by thread: Re: Displaying an alert box
  • Next by thread: Re: Displaying an alert box
  • Index(es):
    • Date
    • Thread