Re: Displaying an alert box
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);