Contents

NSRunCriticalAlertPanel

Creates and runs a critical alert panel.

Declaration

extern NSInteger NSRunCriticalAlertPanel(NSString *title, NSString *msgFormat, NSString *defaultButton, NSString *alternateButton, NSString *otherButton, ...);

Discussion

Creates a critical alert panel that warns the user of some critical consequence of a requested action; the panel lets the user cancel the action and may allow the user to modify the action. It then runs the panel in a modal event loop.

The panel presented to the user is badged with a caution icon. For more information on using alerts, see Human Interface Guidelines > Alerts.

The arguments for this function are the same as those for NSRunAlertPanel.

See Also

Functions