• 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
Re: [NSTableView] What is the purpose of highlightSelectionInClipRect:????
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSTableView] What is the purpose of highlightSelectionInClipRect:????


  • Subject: Re: [NSTableView] What is the purpose of highlightSelectionInClipRect:????
  • From: Scott Anguish <email@hidden>
  • Date: Sat, 16 Nov 2002 20:08:28 -0500

On Saturday, November 16, 2002, at 07:37 AM, email@hidden wrote:
- (void)highlightSelectionInClipRect:(NSRect)clipRect
{
[[NSColor redColor] set];
NSRectFill(clipRect);
}

what you see is that the WHOLE NSTableView content is drawn in red. Even with no selection.

So what is the real purpose of highlightSelectionInClipRect?


I think its the stated purpose. it's passing you the rectangle to clip the highlight to, not the highlight selection rect specifically.
_______________________________________________
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.
  • Follow-Ups:
    • Re: [NSTableView] What is the purpose of highlightSelectionInClipRect:????
      • From: email@hidden
References: 
 >[NSTableView] What is the purpose of highlightSelectionInClipRect:???? (From: email@hidden)

  • Prev by Date: Re: Jobs
  • Next by Date: Re: Jobs
  • Previous by thread: [NSTableView] What is the purpose of highlightSelectionInClipRect:????
  • Next by thread: Re: [NSTableView] What is the purpose of highlightSelectionInClipRect:????
  • Index(es):
    • Date
    • Thread