[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Maximal button ?
From: |
Chris Hanson |
Subject: |
Re: Maximal button ? |
Date: |
Sat, 1 Nov 2003 01:03:29 -0600 |
On Oct 31, 2003, at 10:27 PM, Pascal J.Bourguignon wrote:
Once upon a time, long, long ago, screens displayed as little as 512 x
342 pixels. In these condition, it was quite useful to be able to use
the whole screen surface for one window.
Except that's not what the zoom button does on a Mac.
The zoom button toggles a window between its "standard" and "user"
states.
The user state is whatever size the user changes a window to. The
standard state is the "natural" size of the window, usually based on
its contents. For instance, in the Macintosh Finder, zooming a window
will resize the window to be just large enough to fit all of its
contents, both in length and width.
There's an article in an old issue of "develop" that goes into quite
explicit detail on how to handle all of the various behaviors.
http://www.mactech.com/articles/develop/issue_17/Yu_final.html
"The Zen of Window Zooming" not only covers fitting content, it covers
where on a screen a window should be placed after the zoom, where a
window that overlaps multiple displays should end up, etc.
-- Chris
--
Chris Hanson, bDistributed.com, Inc. | Email: cmh@bDistributed.com
Custom Mac OS X Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: cmh@mac.com