• 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
NSCell and table selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSCell and table selection


  • Subject: NSCell and table selection
  • From: m <email@hidden>
  • Date: Wed, 17 Dec 2003 12:43:46 -0600

I have an NSCell subclass that draws text. I'm using that subclass in an NSTableView. I want my subclass to draw differently when the row it is in is selected.

Calling the cell's isHilighted and state methods always return the same result ( NO, and NSOnState respectively) regardless of whether the cells row is selected or not.

What is the proper way to know when a cell is to draw itself as selected?

_murat
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: CoreFoundation on Win32
  • Next by Date: Re: Changing the Locale for a single App?
  • Previous by thread: Re: Bindings: Value With Pattern Question
  • Next by thread: Printing and First Responder
  • Index(es):
    • Date
    • Thread