• 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: Displaying 2 images in a single cell of nstableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying 2 images in a single cell of nstableview


  • Subject: Re: Displaying 2 images in a single cell of nstableview
  • From: Trygve Inda <email@hidden>
  • Date: Thu, 07 Dec 2006 15:55:58 +0000
  • Thread-topic: Displaying 2 images in a single cell of nstableview

> Hello,
>
> my idea of solving this problem is as follows:
>
> First of all: create a NSView subclass that is able to draw your
> images both (next to each other or like you want) - of course inside
> the drawRect: method. Then draw these view to an image. If you don't
> know how to do this - here is how:
>
> Create a offscreen window programmatically:
>
> NSWindow *hiddenWindow = [[NSWindow alloc]
> initWithContentRect:
> NSMakeRect( -1000,-1000,width,height )
> styleMask: NSTitledWindowMask|NSClosableWindowMask
> backing:NSBackingStoreNonretained
> defer:NO];
>

Won't this just place it 1000 pixels to the left and down from the menu bar?

I have a 30" cinema display that is in "negative" space like this. Maybe
10000 is better?

Trygve


_______________________________________________

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

  • Follow-Ups:
    • Re: Displaying 2 images in a single cell of nstableview
      • From: Andrew Farmer <email@hidden>
    • Re: Displaying 2 images in a single cell of nstableview
      • From: Ronny Reichmann <email@hidden>
References: 
 >Re: Displaying 2 images in a single cell of nstableview (From: Ronny Reichmann <email@hidden>)

  • Prev by Date: Re: Displaying 2 images in a single cell of nstableview
  • Next by Date: Re: Displaying 2 images in a single cell of nstableview
  • Previous by thread: Re: Displaying 2 images in a single cell of nstableview
  • Next by thread: Re: Displaying 2 images in a single cell of nstableview
  • Index(es):
    • Date
    • Thread