On 11 Jan 2009, at 11:45:49, Benjamin Dobson wrote:
I have an NSPopUpButtonCell subclass for custom drawing. Quite simply, how can do custom highlighting before the popup menu appears? - highlight:withFrame:inView: is called before the menu appears, but no drawing is done. The same code in an NSButtonCell subclass works fine.
To follow up, someone on MacRumors pointed me to checking [self isHighlighted] in drawRect:inView: From there I am calling highlight:withFrame:inView: directly, and all is going well.
_______________________________________________ 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