Carbon


Alert Feature Flag Constants

Header: Dialogs.h

enum {
    kAlertFlagsUseThemeBackground = 1,
    kAlertFlagsUseControlHierarchy = 2,
    kAlertFlagsAlertIsMovable = 4,
    kAlertFlagsUseThemeControls = 8
};

Constant descriptions

kAlertFlagsUseThemeBackground

If this bit (bit 0) is set, the Dialog Manager sets the alert box’s background color or pattern.

kAlertFlagsUseControlHierarchy

If this bit (bit 1) is set, the Dialog Manager creates a root control in the alert box and establishes an embedding hierarchy. Any alert items become controls once the embedding hierarchy is established.

kAlertFlagsAlertIsMovable

If this bit (bit 2) is set, the alert box is movable modal. The Dialog Manager handles movable modal behavior such as dragging the alert box by its title bar or switching out of the application by clicking in another one.

kAlertFlagsUseThemeControls

If this bit (bit 3) is set, the Dialog Manager creates Appearance-compliant controls in your alert box. Otherwise, push buttons, checkboxes, and radio buttons will be displayed in their pre-Appearance forms when systemwide Appearance is off.

You can set these bits in the alert flags field of the extended alert resource to specify the alert box’s Appearance-compliant features. Alert feature flag constants are available with Appearance Manager 1.0 and later.


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