Gestalt Constants

Before calling any functions dependent on the Window Manager, your application should pass the selector gestaltWindowMgrAttr to the Gestalt function to determine which Window Manager functions are available.

enum {
    gestaltWindowMgrAttr        = 'wind',
    gestaltWindowMgrPresent     = (1L << 0),
    gestaltHasFloatingWindows   = 2
};

Constant descriptions

gestaltWindowMgrAttr
The Gestalt selector passed to determine what features of the Window Manager are present. This selector is available with Mac OS 8.5 and later. The Gestalt function produces a 32-bit value whose bits you should test to determine which Window Manager features are available.
gestaltWindowMgrPresent
If the bit specified by this mask is set, the Window Manager functionality for Appearance Manager 1.1 is available. This bit is set for Mac OS 8.5 and later.
gestaltWindowMgrPresent
If this bit is set, the functions InitFloatingWindows , HideFloatingWindows , ShowFloatingWindows , and AreFloatingWindowsVisible are supported. This bit is set for Mac OS 8.6 and later.

� 1999 Apple Computer, Inc. – (Last Updated 18 March 99)