Child windows
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