![]() |
Alert Feature Flag Constants |
Header: Dialogs.h |
enum { kAlertFlagsUseThemeBackground = 1, kAlertFlagsUseControlHierarchy = 2, kAlertFlagsAlertIsMovable = 4, kAlertFlagsUseThemeControls = 8 };
If this bit (bit 0) is set, the Dialog Manager sets the alert boxs background color or pattern.
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.
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.
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 boxs 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)