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

[NSScreen resetScreens];


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

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


  • Follow-Ups:
    • Re: [NSScreen resetScreens];
      • From: Jeff Binder <email@hidden>
  • Prev by Date: Re: Java IDE for Swing: nib approach vs code generation?
  • Next by Date: HTML format Text Fields?
  • Previous by thread: NSScrollView confusion --- SOLVED!
  • Next by thread: Re: [NSScreen resetScreens];
  • Index(es):
    • Date
    • Thread