On Oct 27, 2010, at 22:53, Ken Ferry wrote:

> Anyway, NSMomentaryLightButton sets highlightsBy to 
> NSChangeGrayCellMask|NSChangeBackgroundCellMask and showsStateBy to 0.
> 
> NSMomentaryPushInButton sets highlightsBy to NSPushInCellMask and 
> showsStateBy to 0.

Well, the thorough explanation is much appreciated, it's not clear that there 
are (currently) any buttons that draw differently with these two types, or are 
there?

Also, your explanation tends to suggest the documentation is wrong -- whatever 
"lit" means, surely both types can't be that, and why is a 
NSMomentaryPushInButton a correction of pre-Leopard terminology (correctly?) 
indicating that the type is *not* "pushed in"?


_______________________________________________

Cocoa-dev mailing list ([email protected])

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