Re: Adding Multiple NSWindow or NSPanel into another NSWindow
Re: Adding Multiple NSWindow or NSPanel into another NSWindow
- Subject: Re: Adding Multiple NSWindow or NSPanel into another NSWindow
- From: Shawn Erickson <email@hidden>
- Date: Thu, 19 Feb 2009 09:03:07 -0800
On Wed, Feb 18, 2009 at 8:27 PM, Ankur Singhal
<email@hidden> wrote:
>
> Actually I want to allow the user to fit a view at any place in the window
> he wants by dragging the view. Also allowing him to hide it if required or
> close it.
This is all possible and relatively easy to do... you just have to do
it yourself. You can make it so views can be moved by mouse down and
drags. Review the conceptual docs for NSView.
You also can take a view and remove it from one window and add to
another (a given view instance can only be in one window at a time) in
support of your drag-out of window requirement.
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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