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

Button NSTextAttachmentCell


  • Subject: Button NSTextAttachmentCell
  • From: Ben Lachman <email@hidden>
  • Date: Thu, 19 Apr 2007 17:42:15 -0400

Has anyone run into a successful implementation of a button using a NSTextAttachmentCell (via the protocol or subclassing, I don't care). I've coded up one that mostly works. It snags clicks and sends them to the receiver, however I can't get drawing to work correctly. Specifically, drawing during event tracking only seems to work once. The first time the user clicks the button it will highlight and then go back to normal, but on subsequent clicks it won't, even though the cell's drawWithFrame: is being called and the delegate is getting the clickedOnCell: message.

Any ideas?

->Ben
--
"Don't sweat it -- it's not real life. It's only ones and zeroes." -- Gene Spafford



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Prev by Date: Re: doubleClick slop?
  • Next by Date: nsobjectController notify
  • Previous by thread: Re: doubleClick slop?
  • Next by thread: nsobjectController notify
  • Index(es):
    • Date
    • Thread