Two different actions depending on the event when clicking a NSStatusItem?

2008-07-30 Thread tim_ph
Hi there. My application uses a NSStatusItem. When somebody left-clicks on it I want a method to be called (Which I've managed to fix) and then when somebody right-clicks on it I want a menu to be shown. I can't seem to get that to work. If I set a menu for the status item it shows up when somebod

Re: Changing NSTextFieldCells' editing appearance?

2008-08-15 Thread tim_ph
> > -setBackgroundColor: didn't work? > Nope, it didn't. But even if it would've, the background would have been visible at all times. I'm sorry if I didn't write clearly enough, but it's only when the cell is being edited that the background becomes black (Instead of white like it usually does).