• 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 + resolution change
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScreen + resolution change


  • Subject: Re: NSScreen + resolution change
  • From: Uli Kusterer <email@hidden>
  • Date: Wed, 18 Jul 2007 18:10:38 +0200

On 18.07.2007, at 13:50, Thomas Engelmeier wrote:
that's what I already came up with, but fear as soon NSScreen is fixed to behave as documented it will break..
*sigh*

You could try to drop down to CGDirectDisplay or so. There's some CGxxx calls to list all screens and get their rects, with some luck those don't do the errant cacheing you see in NSScreen (If not, there's always Quickdraw's GDHandle...). You might be able to detect whether the bug is still there by checking what CG gives you against what NSScreen gives you, and then only apply your manual fix when they differ.


If Quickdraw is your only route to detect this, that's OK too: Quickdraw is still available, and unless you need to go 64-bit, will probably be available until the fix gets shipped with a MacOS version. So, by the time you need to get rid of that Quickdraw code, you may not need the fix anymore anyway.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSScreen + resolution change
      • From: John Stiles <email@hidden>
References: 
 >NSScreen + resolution change (From: Thomas Engelmeier <email@hidden>)
 >Re: NSScreen + resolution change (From: Ricky Sharp <email@hidden>)
 >Re: NSScreen + resolution change (From: Thomas Engelmeier <email@hidden>)

  • Prev by Date: Re: NSProgressIndicator (CallBacks)
  • Next by Date: Re: Sorting issues with NSTableView
  • Previous by thread: Re: NSScreen + resolution change
  • Next by thread: Re: NSScreen + resolution change
  • Index(es):
    • Date
    • Thread