• 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: Tue, 3 Feb 2004 12:41:23 +0100

I have an app that uses an NSMatrix subclass to display images. Here is the "setup" portion of the implementation...


This actually works, but I cannot use the bezeled borders. My images have to be "just the image on plain white" and when selected, the white cell background around the image should turn blue (or whatever).

I think I will have to subclass NSImageCell, override drawWithFrame: or drawInteriorWithFrame:, and probably even override some highlighting method to draw the blue background...

Lotta work for just highlighting a cell...

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.

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

  • Prev by Date: Finding windows from Cocoa ?
  • Next by Date: Re: Highlighting NSImageCells in an NSMatrix
  • Previous by thread: Re: Highlighting NSImageCells in an NSMatrix
  • Next by thread: Re: Highlighting NSImageCells in an NSMatrix
  • Index(es):
    • Date
    • Thread