Re: Screen size in Dual monitor mode

2010-03-23 Thread Graham Cox
On 24/03/2010, at 2:07 AM, Shawn Erickson wrote: > 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. While the user can arrange them more or less as they wish, there won't be ga

Re: Screen size in Dual monitor mode

2010-03-23 Thread Murat Konar
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: O

Re: Screen size in Dual monitor mode

2010-03-23 Thread Shawn Erickson
On Tue, Mar 23, 2010 at 7:27 AM, Nikhil Khandelwal 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 >

Re: Screen size in Dual monitor mode

2010-03-23 Thread Graham Cox
[NSScreen screens] with NSUnionRect() of all -frame properties. --Graham On 24/03/2010, at 1:27 AM, Nikhil Khandelwal 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 howeve

Screen size in Dual monitor mode

2010-03-23 Thread Nikhil Khandelwal
Hi, 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