• 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: subview within NSView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: subview within NSView?


  • Subject: Re: subview within NSView?
  • From: j o a r <email@hidden>
  • Date: Thu, 30 Mar 2006 08:37:52 +0200


On 30 mar 2006, at 08.30, Alex Reynolds wrote:

I subclassed NSView (CinoDisplayController) and created some NSPopUpButtons, NSTextFields, and an NSButton inside.

<snip>

However, this does not insert the NSPopUpButton etc. objects within cinoControllerWindowView.

I'm confused. Did you, or did you not, add the subviews to your CinoDisplayController objects?


Verify that your subviews have the correct frame (ie. position and size) within the coordinate system of their superviews! Usually you would do a "-setFrame:" somewhere close to "-addSubview:".

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >subview within NSView? (From: Alex Reynolds <email@hidden>)

  • Prev by Date: subview within NSView?
  • Next by Date: single-document application
  • Previous by thread: subview within NSView?
  • Next by thread: single-document application
  • Index(es):
    • Date
    • Thread