Re: Subclassing IKImageView

2012-01-30 Thread Jan E. Schotsman
On Jan 29, 2012, at 6:27 PM, Fritz Anderson wrote: my next experiment would be to override the methods Indeed, that way I can easily do what I need (limit image drags to files and register dropped files): - (BOOL)performDragOperation:(id )sender { BOOLaccepted;

Re: Subclassing IKImageView

2012-01-29 Thread Jan E. Schotsman
On Jan 29, 2012, at 6:27 PM, Fritz Anderson wrote: I want to modify IKImageView so that it erases with the window background color. By default it erases with medium gray which looks awful. I'm curious — how does the instance property .backgroundColor not suit your purpose? Me I am curi

Re: Subclassing IKImageView

2012-01-29 Thread Fritz Anderson
On 29 Jan 2012, at 8:42 AM, Jan E. Schotsman wrote: > I want to modify IKImageView so that it erases with the window background > color. By default it erases with medium gray which looks awful. > > I tried implementing -drawRect but this is only called when the window opens. > It isn't even cal

Subclassing IKImageView

2012-01-29 Thread Jan E. Schotsman
Hello, I want to modify IKImageView so that it erases with the window background color. By default it erases with medium gray which looks awful. I tried implementing -drawRect but this is only called when the window opens. It isn't even called when the image is set to nil. Can one set th