views:

26

answers:

1

I am making a little application with three NSButtons with an image set. These buttons have no border nor background. However, when I click a button it turns into a gray rectangle.

How can I fix this? Thanks.

A: 

Check out NSButtonCell's highlightsBy: and showsStateBy: methods. You should be able to adjust this by changing the state mask (the applicable Constants are in NSCell's reference page).

Sean Rich