• 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
Custom button cell hi-lighting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom button cell hi-lighting


  • Subject: Custom button cell hi-lighting
  • From: Ben Lachman <email@hidden>
  • Date: Tue, 2 May 2006 15:43:36 -0400

I'm trying to something that I think should be simple: Draw a different background image on a NSButtonCell subclass. I have two states, normal and pushed. What is the correct constant to base drawing of the two images off of? At the moment I am swapping the images based on state, but that only works *after* a click, not during. I guess the other option is to handle clicks myself but it doesn't seem like it should be that difficult.

Thanks,

->Ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: InstantMessage.framework
  • Next by Date: TableView binded to an Arraycontroller - How to customize sorts ?
  • Previous by thread: Re: InstantMessage.framework
  • Next by thread: TableView binded to an Arraycontroller - How to customize sorts ?
  • Index(es):
    • Date
    • Thread