Try a different bezel. Any of the other push button styles should work fine 
(gradient, textured, etc) if you're doing your own drawing.


On Oct 13, 2010, at 4:22 PM, Georg Seifert wrote:

> Hi,
> 
> I have a subclass of NSButton. The bezel style is set to "Push". If the 
> button has the return key equivalent and becoming the default button (drawn 
> blue) the "- (void) drawBezelWithFrame:(NSRect)cellFrame inView:(NSView 
> *)controlView method gets called over end over again. In the standard 
> implementation this makes the button pulse.
> 
> I want to disable this for my subclass but can’t find the case of the redraw.
> 
> Regards
> Georg S
> 
> 
> _______________________________________________
> 
> 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/lrucker%40vmware.com
> 
> This email sent to lruc...@vmware.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

Reply via email to