Yes, it is still an NSButton (or equivalent) after all. Enabled/Disabled is simply a state/property of the button.
Peace, Love, and Light, /s/ Jon C. Munson II -----Original Message----- From: cocoa-dev-bounces+jmunson=his....@lists.apple.com [mailto:cocoa-dev-bounces+jmunson=his....@lists.apple.com] On Behalf Of Donnie Lee Sent: Monday, January 12, 2009 2:45 PM To: Jean-Daniel Dupas Cc: Cocoa Developers Subject: Re: Disabled button looks like enabled > Then the window object try to resolve the target responder. > > Each NSView is a responder. I really don't understand how you're trying to > reduce system resource usage. Hmm, I don't know internals of Cocoa, I hypothesized that putting a button in a disabled state can remove focus areas handled by mouse or something else, which can save a little system resources without big pain. Are you 100% sure that disabled and enabled buttons takes identical amount of system resources? Donnie. _______________________________________________ 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/jmunson%40his.com This email sent to jmun...@his.com _______________________________________________ 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 arch...@mail-archive.com