• 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
NSScreen visibleFrame
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSScreen visibleFrame


  • Subject: NSScreen visibleFrame
  • From: Jeremy Dronfield <email@hidden>
  • Date: Wed, 17 Jul 2002 18:24:58 +0100

Does anyone know of a bug in NSScreen's -visibleFrame method? Whenever I use it (whether to put up a full-screen backdrop or determine the placement of a window), I find it leaves a gap about 3 pixels deep along the bottom of the screen. This means I have to use a very laborious method involving [myScreen frame] (for calculations relating to the bottom edge) and [myScreen visibleFrame] (for calculations using the bottom of the menu bar). It's very tedious - and so is the alternative, creating a rect based on visibleFrame with adjustments to its height and origin.

Is this a bug, or what? And is there a less laborious workaround?
- 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: [Seriously OT]Mac.com 60 days and counting
  • Next by Date: Re: Properly writing an Init method
  • Previous by thread: Re: Properly writing an Init method
  • Next by thread: Re: NSScreen visibleFrame
  • Index(es):
    • Date
    • Thread