Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

semicolons

macrumors newbie
Original poster
Feb 14, 2008
8
0
Greetings all,

I am using a subclass of NSPopUpButtonCell to do custom drawing. Simply, how can I implement custom highlighting too? My highlighting code is called, but it is not drawn until after the menu closes.
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
In your drawing method, check for [self isHighlighted]. That should be called correctly before the menu shows.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.