• 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
draw NSButtonCell or combo cell only when selected?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

draw NSButtonCell or combo cell only when selected?


  • Subject: draw NSButtonCell or combo cell only when selected?
  • From: Chad Harrison <email@hidden>
  • Date: Wed, 18 Mar 2009 14:41:06 -0400


I'm looking to do something like iTunes does when you have a row selected - that is, show an NSImageCell or NSButtonCell combo with the text, but only when the row is selected (or in iTunes' case, when a track is playing). I am able to create a custom cell, but I'm not sure how to tell it to draw itself differently when the row is selected, or not.


thanks

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Prev by Date: Re: Get the list of Places in Finder?
  • Next by Date: Re: Termination Running Applications ...
  • Previous by thread: Re: [Q] Contextual Menu Items Size
  • Next by thread: Custom modal panel, like NSSavePanel/NSOpenPanel
  • Index(es):
    • Date
    • Thread