• 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
Re: Transparent window and opaque objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Transparent window and opaque objects
      • From: Lorenzo <email@hidden>
References: 
 >Re: Transparent window and opaque objects (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: A problematic combination of malloc and getCharacters.
  • Next by Date: NSColorWell and NSColorPanel
  • Previous by thread: Re: Transparent window and opaque objects
  • Next by thread: Re: Transparent window and opaque objects
  • Index(es):
    • Date
    • Thread