Re: NSScreen visibleFrame
Re: NSScreen visibleFrame
- Subject: Re: NSScreen visibleFrame
- From: Jeremy Dronfield <email@hidden>
- Date: Wed, 17 Jul 2002 21:53:00 +0100
On Wednesday, July 17, 2002, at 06:43 pm, Lance Bland wrote:
>
>
In the past 3 pixels have been used so the user can gain access to a
>
dock even in full screen mode. If you change the dock left or right I
>
wonder if the 3 pixels change left or right.
>
On Wednesday, July 17, 2002, at 08:27 pm, Brock Brandenberg wrote:
so I have assumed that is returning a "safe zone", not a rect that bumps
directly against visible menu bar and dock pixels. If the dock is
hidden, I
believe the visibleFrame will even exclude the small (apparently 3 pixel)
mouse-over, hot zone along the edge where the dock is hidden/positioned.
You're both absolutely right. Damn! Oh well, back to my laborious
calculations. At least they're only required for window placement.
Using -frame instead of -visibleFrame works for my full-screen window -
I'm not using DirectDisplay, so it leaves the menubar alone.
Thanks.
- Jeremy.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.