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 PROTECTED]
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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to