• 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
Child windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Child windows


  • Subject: Child windows
  • From: "Mike R. Manzano" <email@hidden>
  • Date: Mon, 11 Jun 2007 13:42:01 -0700

Hi there,

For my app, I need to mimic an NSDrawer (I won't get into why, let's just say that they're not flexible enough w/o resorting to tapping into private APIs). I have this in an awakeFromNib:

[_parentWindow addChildWindow:_drawer ordered:NSWindowBelow] ;
[_drawer setParentWindow:_parentWindow] ;

This seems to work great for attaching the drawer to the window, but the NSTextView and NSTextField widget in the drawer don't seem to be responding:

(1) They do not size automatically when the window (and enclosing view) is sized. There are NSButtons in there too, and they move around appropriately according to the window size, so I know the containing view (which is a custom NSView, currently with no implementation) is sizing right.

(2) I can't click on them to focus them and consequently can't type into them.

Anyone know why?

Thanks!

Mike


_______________________________________________

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


  • Prev by Date: Re: Error and Exception Handling: When to use
  • Next by Date: Issues Binding to Child of On The Fly Vended Key
  • Previous by thread: Adding a hidden coredata layer in a cocoa framework ?
  • Next by thread: Issues Binding to Child of On The Fly Vended Key
  • Index(es):
    • Date
    • Thread