• 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: NSWindow and NSImageView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow and NSImageView


  • Subject: Re: NSWindow and NSImageView
  • From: Francesca Placido <email@hidden>
  • Date: Thu, 20 Oct 2005 19:30:17 +0200



See the -contentView method in NSWindow and the -addSubview method in NSView.


--Andy



Ok, sorry, I know that NSImageView depend from NSView.. So I can use addasubview adding an NSImageView element???

For example

NSImageView *myImage
NSView *myView;



[myView addSubview:myImage];
[myWindow setContentView:myView]


??? I've not tested it, but do you think It could be right???

Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSWindow and NSImageView
      • From: Andy Lee <email@hidden>
References: 
 >NSWindow and NSImageView (From: Francesca P <email@hidden>)
 >Re: NSWindow and NSImageView (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: tableViewSelectionDidChange not being called after selectionShouldChangeInTableView?
  • Next by Date: DO, replyWithException and oneway void message...
  • Previous by thread: Re: NSWindow and NSImageView
  • Next by thread: Re: NSWindow and NSImageView
  • Index(es):
    • Date
    • Thread