• 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
NSView behaves different on 10.4 vs 10.5?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSView behaves different on 10.4 vs 10.5?


  • Subject: NSView behaves different on 10.4 vs 10.5?
  • From: Adam Gerson <email@hidden>
  • Date: Mon, 19 Jan 2009 22:36:29 -0500

I am trying to help someone solve a problem with their code. I did not
write the code myself. As far as I can tell they have a custom NSView
subclass that has some subviews. The view represents a hand of playing
cards. The subviews themselves are custom NSButton subclasses that
represent individual playing cards.

The cards in the hand are drawn overlapping. Everything works fine
under 10.5. Which is to say that when you click on a playing card
nothing happens. We want NOTHING to happen when we click on a card.
Under 10.4 when you click on a card the individual playing card
appears to get redrawn on top of the other cards. You can see an
example in this short screen capture:

https://dl.getdropbox.com/u/30035/cards.swf

I have tested this with a verity of built in views and buttons and
cant recreated the mouseDown event causing the subview/NSButton to get
redrawn ontop of other views or buttons layered beneath it.

Could anyone shed some slight on what could be occurring?

Thanks,
Adam
_______________________________________________

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: NSView behaves different on 10.4 vs 10.5?
      • From: Adam Gerson <email@hidden>
    • Re: NSView behaves different on 10.4 vs 10.5?
      • From: Graham Cox <email@hidden>
    • Re: NSView behaves different on 10.4 vs 10.5?
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: Using the security framework
  • Next by Date: Re: NSView behaves different on 10.4 vs 10.5?
  • Previous by thread: Coredate: change source Entity in IB
  • Next by thread: Re: NSView behaves different on 10.4 vs 10.5?
  • Index(es):
    • Date
    • Thread