• 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: NSNoCellMask differences in Leopard vs. Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSNoCellMask differences in Leopard vs. Tiger


  • Subject: Re: NSNoCellMask differences in Leopard vs. Tiger
  • From: Ben Lachman <email@hidden>
  • Date: Mon, 31 Mar 2008 13:36:37 -0400

So it ends up that while NSNoCellMask works on Tiger it really isn't the way to do what I was wanting. NSPushInCellMask does the same thing (darken the un-bezeled icon), makes more sense, and works on both Tiger and Leopard. The problem is that the documentation doesn't mention NSPushInCellMask unless you look at the state masks leading me to believe that it wasn't a supported value for setHighlightsBy:. Anyway, hope this helps someone at some point.

->Ben
--
Ben Lachman
Acacia Tree Software

http://acaciatreesoftware.com

email@hidden
740.590.0009

On Mar 20, 2008, at 5:50 AM, Ben Lachman wrote:
On Tiger one could set up borderless, momentary light "square button" with an icon and call setHighLightsBy: with NSNoCellMask and you'd get a nice darkening on the non-transparent parts when the user pressed the button. However these same buttons on Leopard don't change at all during a user's press. Is there a way to get a similar effect on Leopard without using an alternate image (some of my buttons already have alternate images)?

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >NSNoCellMask differences in Leopard vs. Tiger (From: Ben Lachman <email@hidden>)

  • Prev by Date: Re: core data and sqlite db store problem
  • Next by Date: Re: Threads and Core Data, bindings results in view corruption
  • Previous by thread: NSNoCellMask differences in Leopard vs. Tiger
  • Next by thread: Web Core Service and SSL problem
  • Index(es):
    • Date
    • Thread