Re: Dock Height ?
Re: Dock Height ?
- Subject: Re: Dock Height ?
- From: glenn andreas <email@hidden>
- Date: Thu, 6 Oct 2005 10:51:27 -0500
On Oct 6, 2005, at 10:40 AM, email@hidden wrote:
Dear List,
I have Googled and searched the docs without success (before anyone
flames me). Does someone know how to programmatically ascertain the
Dock height ?
Thanks in advance
Vincent
My dock's height is the same as my second monitor - the dock can be
placed vertically, after all (and doesn't need to be on the primary
monitor either), and if it's hidden the height is technically zero
(though there is actually a small boundary area that the system
considers to be part of the dock so I knows when to pop it up).
You shouldn't be trying to use the "dock height" for anything because
of this - instead, use NSScreen's visibleFrame routine to find out
what part of any given screen is currently safe to draw you
applications content in.
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium | build, mutate, evolve | images, textures, backgrounds, art
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden