Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screen Size Question



At 12:02 PM -0800 11/18/2002, email@hidden wrote:
Eric Albert wrote:
|Keep in mind that the available height should also exclude the Dock
|if the Dock is positioned on the bottom of the screen (as it is by
|default).
And if the Dock isn't being auto-hidden. If it is, then reserving space for the normally-absent Dock simply wastes space. Also, if you're going to reserve space for the dock, you should also handle the cases where the user has put it on the left or right sides of the screen.

Yep. The only solution I'm aware of (which I mentioned earlier) -- calling Carbon's GetAvailableWindowPositioningBounds() -- takes all of that into account.

-Eric

--
Eric Albert email@hidden
http://rescomp.stanford.edu/~ejalbert/
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >Screen Size Question (From: Robert Westlund <email@hidden>)
 >Re: Screen Size Question (From: Eric Albert <email@hidden>)
 >Re: Screen Size Question (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.