Carbon


Theme Window Type Constants

Header: Appearance.h

enum {
    kThemeDocumentWindow = 0,
    kThemeDialogWindow = 1,
    kThemeMovableDialogWindow = 2,
    kThemeAlertWindow = 3,
    kThemeMovableAlertWindow = 4,
    kThemePlainDialogWindow = 5,
    kThemeShadowDialogWindow = 6,
    kThemePopupWindow = 7,
    kThemeUtilityWindow = 8,
    kThemeUtilitySideWindow = 9,
    kThemeSheetWindow = 10
};

Constant descriptions

kThemeDocumentWindow

A document window.

kThemeDialogWindow

A modal dialog box.

kThemeMovableDialogWindow

A movable modal dialog box.

kThemeAlertWindow

An alert box.

kThemeMovableAlertWindow

A movable alert box.

kThemePlainDialogWindow

A plain modal dialog box. This window visually corresponds to that produced by the plainDBox pre–Appearance Manager window definition ID and does not change appearance by theme.

kThemeShadowDialogWindow

A dialog box with shadowing.

kThemePopupWindow

A pop-up window.

kThemeUtilityWindow

A utility window.

kThemeUtilitySideWindow

A utility window with a side title bar.

kThemeSheetWindow

You may use the following constants of type ThemeWindowType to identify windows of specific visual categories to the Appearance Manager; see "Drawing Theme-Compliant Windows" for the functions that use the ThemeWindowType constants. The ThemeWindowType constants are available with Appearance Manager 1.1 and later.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)