Hi Sourabh,

It sounds like you missed my prior reply to your original email. Here it is again:


This should work on tiger too. You also should subclass your cells and make sure they don't draw any highlighting by overriding this and returning nil:

- (NSColor *)highlightColorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;

There is no need to override the private methods; people frequently make that wrong assumption. Granted, the whole process could be made better if there was an easy option to do this on NSTableView.


corbin

On Apr 2, 2009, at 10:48 AM, Sourabh Sahu wrote:

Hi Everyone,
I tried highlighSelectionInClipRect method & set the color but I still getting row selected,but there is gap between cells.
But it still m not able to remove it completely,Please reply

Sourabh

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to