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

Re: [NSScreen resetScreens];


  • Subject: Re: [NSScreen resetScreens];
  • From: Jeff Binder <email@hidden>
  • Date: Thu, 30 Aug 2001 22:41:32 -0400

Sorry, what I to say was that I need to define the content rect of the window in the coordinate system of the previous resolution. So, AppKit doesn't know that the resolution has changed.

On Thursday, August 30, 2001, at 10:08 PM, Jeff Binder wrote:

I'm currently trying to implement resolution switching with a Cocoa app. I can switch the resolution, but AppKit doesn't realize this, and I have to describe the window in screen coordinates. The computer crashes if I try to use OpenGL with this window.

According to the documentation, I need to call:

[NSScreen resetScreens];

The problem is, this method doesn't exist. It's in the documentation, but not in the header (there's a new one). I looked in the release notes, but there was nothing there of relevance. So, what do I do the get this to work?

Thanks,
Jeff Binder
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >[NSScreen resetScreens]; (From: Jeff Binder <email@hidden>)

  • Prev by Date: HTML format Text Fields?
  • Next by Date: Please point me in the right direction for contextual menus
  • Previous by thread: [NSScreen resetScreens];
  • Next by thread: HTML format Text Fields?
  • Index(es):
    • Date
    • Thread