Re: Transparent window and opaque objects
Re: Transparent window and opaque objects
- Subject: Re: Transparent window and opaque objects
- From: Ricky Sharp <email@hidden>
- Date: Wed, 24 Oct 2007 18:59:27 -0500
On Oct 24, 2007, at 6:44 PM, Lorenzo wrote:
Thank you Shawn. Your suggestions made me think about the trick I
used to
solve an overlapping problem. I solved it reordering the subviews.
I iterate through the subviews looking for the NSImageView obj and
I store
its index. Then I delete all the subviews. Now I
addSubview:NSImageView (as
first) then I add all the other objects. So the NSView gets drawn
as first.
It works like a charm. Thank you so much!
There is no 'trick' to solving overlapping view problems.
Overlapping views are not supported at all. If you continue to go
that route, don't be surprised if some hardware/OS/etc combo will
cause problems for your app.
Valid alternatives have already been mentioned in earlier replies
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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