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: [email protected]
[mailto:[email protected]] 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 ([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/jmunson%40his.com

This email sent to [email protected]

_______________________________________________

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