• 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: Highlighting NSImageCells in an NSMatrix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Highlighting NSImageCells in an NSMatrix


  • Subject: Re: Highlighting NSImageCells in an NSMatrix
  • From: Michael Becker <email@hidden>
  • Date: Wed, 4 Feb 2004 15:06:23 +0100

Lotta work for just highlighting a cell...

You're overstating the level of difficulty. Subclassing NSImageCell to
do what you want is *easy*:


You're right. I think the hard part for me is mostly to figure out *what* to do. (Hence my original question, whether there was a *simple* way ;-))


Obviously this was typed quickly in Mail and hasn't been tested, but I
think you get the idea.

It actually was flawless :-) Copy & paste worked nicely. Thanks.


(BTW, you can turn the borders off using the -setBordered: and/or
-setBezeled: methods if you want to do so.)


Yeah, I did that before. That was actually the original problem I had. When I turned the borders/bezeled off, there was no highlighting anymore.

Thanks!

Michael
_______________________________________________
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.

References: 
 >Re: Highlighting NSImageCells in an NSMatrix (From: Michael Becker <email@hidden>)
 >Re: Highlighting NSImageCells in an NSMatrix (From: John Pannell <email@hidden>)
 >Re: Highlighting NSImageCells in an NSMatrix (From: Michael Becker <email@hidden>)
 >Re: Highlighting NSImageCells in an NSMatrix (From: Alastair Houghton <email@hidden>)

  • Prev by Date: NSImage resizing
  • Next by Date: Re: Cocoa/Windows parallel dvlpmt
  • Previous by thread: Re: Highlighting NSImageCells in an NSMatrix
  • Next by thread: Re: Deployable product
  • Index(es):
    • Date
    • Thread