![]() |
Determining Window Manager Attributes |
Header: Gestalt.h |
enum { gestaltWindowMgrAttr = ''wind'', gestaltWindowMgrPresent = 1, gestaltWindowMgrPresentBit = , gestaltExtendedWindowAttributes = 1, gestaltExtendedWindowAttributesBit = 1, gestaltHasFloatingWindows = 2, gestaltHasFloatingWindowsBit = 2, gestaltHasWindowBuffering = 3, gestaltHasWindowBufferingBit = 3, gestaltWindowMgrPresentMask = 1, gestaltExtendedWindowAttributesMask = 2, gestaltHasFloatingWindowsMask = 4, gestaltHasWindowBufferingMask = 8 };
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.
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.
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.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)