Shawn's right. Your screen area (made up of one or more screens) is likely to be non-rectangular, so the notion of a "whole screen size" is meaningless. There is no "whole screen", just a bunch of screens at arbitrary locations.

_murat

On Mar 23, 2010, at 8:07 AM, Shawn Erickson wrote:

On Tue, Mar 23, 2010 at 7:27 AM, Nikhil Khandelwal
<[email protected]> wrote:

In my application I am working with Dual monitor and I want to capture the whole screen size. For this I am using NSScreen API to get the whole screen size however this is returning me only with the screen resolution for single monitor. So is there any way to get the size of combined screen in dual monitor mode.

What do you mean dual monitor mode? You mean mirrored? Mac OS X
supports an arbitrary number of monitors connected to a system
(limited by hardware capabilities of course).

Also what do you mean by "whole screen size"? Don't forget a user can
arrange screens in various locations and orientations relative to each
other. As a result a union of all frames may be misleading/meaningless
because of large gaps where no monitor exists simply because of how
the user arranged the monitors.

-Shawn
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to