NSCell and table selection
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.