• 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: Dual monitor support in Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dual monitor support in Cocoa?


  • Subject: Re: Dual monitor support in Cocoa?
  • From: kristin <email@hidden>
  • Date: Mon, 18 Jun 2001 10:15:16 -0700

Ken,
One other thing you might want to be aware of - NSApplication has an NSApplicationDidChangeScreenParametersNotification which is sent when the user changes screen resolution or arrangement. You can get this notification by implementing -applicationDidChangeScreenParameters: in your application delegate (see NSApplication.h). This will let you resize/reposition your windows as necessary after a screen configuration change.

Kristin


On Monday, June 18, 2001, at 09:14 AM, Ken Tabb wrote:

And so it was that Eric Peyton said on 18/6/01 4:30 pm:

What do you mean by dual monitor support?

All applications on OS X can run on any monitor. Window locations
in Cocoa do not store correctly in the preferences if they are
stored on a secondary (or later) monitor, but other than that there
are no known problems that I know of.

What specific "functionality" are you looking for Cocoa to provide
WRT multiple monitors?

It's basically a front end to a database which needs to have 2 windows
(i.e. 2 documents), 1 on each screen, both full screen. So I need to know
the global coords for each monitor (including each one's resolution so
that I can go full screen). It won't have a GUI as such, as it's for
displaying stuff on flat screen monitors hanging on walls, not for users
to actually 'use' (there's another 'normal' app for that). But I'll check
the NSScreen stuff before I ask any more stupid questions! (That doesn't
mean I won't ask any more stupid questions, just that there'll be a pause
first!).

Thanks for your help folks,
Ken


---------
Ken Tabb.
Mac & UNIX C/C++/Java developer (Health & Human Sciences),
Machine Vision researcher/programmer (Computer Science),
University of Hertfordshire, England
http://www.health.herts.ac.uk/ken/

Certified non-Microsoft Solution Provider
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


  • Prev by Date: Re: How do you underline text ? [Supplement]
  • Next by Date: Mouse Control
  • Previous by thread: Re: Dual monitor support in Cocoa?
  • Next by thread: How do you underline text ?
  • Index(es):
    • Date
    • Thread