On Oct 18, 2016, at 08:00 , Alan Snyder <applemail832...@cbfiddle.com> wrote:
> Is the choice to gray or not to gray when inactive under programmer control?
IIRC you can control this by the the value of “acceptsFirstMouse”. The NSView
default is NO, but NSButton overrides it to return YES. To change it back
again, you need to subclass NSButton and override the method. (But it’s a while
since I’ve had to deal with this, and there may be other API for directly
controlling the appearance.)
Cocoa-dev mailing list (Cocoafirstname.lastname@example.org)
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 arch...@mail-archive.com