• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSScreen visibleFrame
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Properly writing an Init method
  • Next by Date: Re: [Seriously OT]Mac.com 60 days and counting
  • Previous by thread: Re: NSScreen visibleFrame
  • Next by thread: [again] Add dynamically tool tip in NSMatrix
  • Index(es):
    • Date
    • Thread