• 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
highlightSelectionInClipRect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

highlightSelectionInClipRect


  • Subject: highlightSelectionInClipRect
  • From: Lorenzo <email@hidden>
  • Date: Sun, 25 May 2003 23:42:42 +0200

I cannot see the single cell highlighted in my subclassed NSTableView. I see
some blue line here and there. Where is my error?

- (void)highlightSelectionInClipRect:(NSRect)clipRect
{
[[NSColor blueColor] set];
[NSBezierPath setDefaultLineWidth:3];
[NSBezierPath strokeRect:clipRect];
}

Simply I need to select and highlight the single cell when I click on a
cell.
The default behaviour instead selects the whole row.


Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
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: [OT] Re: Subversion revision controll system
  • Next by Date: Re: Picture parameters
  • Previous by thread: Re: Simple C++/Obj-C question
  • Next by thread: My line numbers view, drawAtPoint: is slow
  • Index(es):
    • Date
    • Thread