Carbon


Alert Type Constants

Header: Dialogs.h

enum {
    kAlertStopAlert = 0,
    kAlertNoteAlert = 1,
    kAlertCautionAlert = 2,
    kAlertPlainAlert = 3
};

Constant descriptions

kAlertStopAlert

Stop alert box.

kAlertNoteAlert

Note alert box.

kAlertCautionAlert

Caution alert box.

kAlertPlainAlert

Alert box with no icon.

You can pass constants of type AlertType in the inAlertType parameter of StandardAlert to specify the type of alert box you wish to create. Alert type constants are available with Appearance Manager 1.0 and later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)