• 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
Detecting resolution changes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting resolution changes?


  • Subject: Detecting resolution changes?
  • From: "email@hidden" <email@hidden>
  • Date: Sun, 9 Mar 2008 08:05:56 -0700

I want to detect when a screen's resolution has changed, so I can resize and re-center my main window. Does "NSWindowDidChangeScreenProfileNotification" do what i want? If the user moves the window (into a differently-sized widow, causing a change), it looks like I could trap/check at "NSWindowDidChangeScreenNotification". What I wasn't clear about is whether a screen's "profile" included the resolution.

Thanks,

Mark
_______________________________________________

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: Detecting resolution changes?
      • From: Ken Thomases <email@hidden>
  • Prev by Date: how to get a particular icon from .icns file
  • Next by Date: Re: NSUserDefaults and mutability
  • Previous by thread: Re: how to get a particular icon from .icns file
  • Next by thread: Re: Detecting resolution changes?
  • Index(es):
    • Date
    • Thread