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.
enum {
kThemeDocumentWindow = 0,
kThemeDialogWindow = 1,
kThemeMovableDialogWindow = 2,
kThemeAlertWindow = 3,
kThemeMovableAlertWindow = 4,
kThemePlainDialogWindow = 5,
kThemeShadowDialogWindow = 6,
kThemePopupWindow = 7,
kThemeUtilityWindow = 8,
kThemeUtilitySideWindow = 9
};
typedef UInt16 ThemeWindowType;