Re: Re: Displaying 2 images in a single cell of nstableview
Re: Re: Displaying 2 images in a single cell of nstableview
- Subject: Re: Re: Displaying 2 images in a single cell of nstableview
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 7 Dec 2006 08:49:10 -0800
On 12/7/06, Shawn Erickson <email@hidden> wrote:
On Dec 7, 2006, at 8:19 AM, Ronny Reichmann wrote:
> As I understand your mail, you have two displays standing beside
> each other. If this is the case your workspace should begin on the
> lower left side of your left display with x0,y0. In Cocoa each
> drawing starts at the bottom left side not at the top left. The
> window that is instantiated with -1000, -1000 will be 1000 pixel
> left from your leftmost display and 1000 pixel below the bottom of
> your bottommost display (if you use to arrange them on top of each
> other in some way) as far as I know. By the way: all that
> information can be obtained by reading the cocoa documentation or
> by google for it.
> Just try out the snippets and look out for appearance of that
> hiddenWindow. If it does, pleas tell me.
No it doesn't. The main display defines the zero origin of the
virtual display space so displays to the left or below of the main
display are in the negative. The main display is the one with the
menu bar and is configurable by the user.
Oops I meant to say "left or above" in the above.
As an example (screen zero is always the one with the menu bar)...
2006-12-07 08:46:52.469 ScreenCaptureTest[26861] Dislpay 0 -
w:1920.000000, h:1200.000000, x:0.000000, y:0.000000
2006-12-07 08:46:52.550 ScreenCaptureTest[26861] Dislpay 1 -
w:1680.000000, h:1050.000000, x:-1680.000000, y:-1050.000000
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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