Re: two questions about child windows
Re: two questions about child windows
- Subject: Re: two questions about child windows
- From: glenn andreas <email@hidden>
- Date: Sun, 13 May 2007 08:42:29 -0500
On May 13, 2007, at 12:27 AM, Oscar Bascara wrote:
I've got custom views that the user can rearrange in a canvas by
dragging. At first, I tried subviews which worked fine except when
overlapping, the behavior was unpredictable. So I'm trying child
windows (borderless). The behavior is more stable, but now I have
these two questions.
One technique is to mix the two behaviors - basically you have a
transparent overlay window (borderless) that is the size of the
content, and then have the view within it moveable (as opposed to the
overlay window with just the view and the window moveable). The view
is then clipped by the transparent overlay window (which corresponds
to the canvas) making it appear that it is clipped by canvas.
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
Cardographer | the custom playing card designer
_______________________________________________
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