Window Zooming

When the user clicks a window's zoom box, a window zooms between two states, the user state and the standard state. The user state is any size and position in which the user can place the window on the desktop. The standard state is the size and position that the application defines as being best for the display of the data contained in the window. There are human interface guidelines for how best to determine a window's standard state, based upon its current user state, but prior to Mac OS 8.5 there were no system-supplied functions that enforced these guidelines for your application.

When you use the Mac OS 8.5 Window Manager zooming functions, your application automatically conforms to the human interface guidelines for determining a window's standard state, as follow:

The Window Manager also ensures that the user state is tracked accurately and gives your application access to a window's user state information through the new zooming functions.

The Mac OS 8.5 Window Manager provides the following functions for zooming windows. See Zooming a Window Gracefully for an example of how your application can call these functions.


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