Re: clickable NSImageView

2008-06-17 Thread Mattias Arrelid
Hi Angelo, 2008/6/17 Angelo Chen <[EMAIL PROTECTED]>: > Hi, > > I use the code at the end to let user click on an image and open a URL, this > works, but not really satisfactory as when the mouse is moved over the image, > the cursor was not changed to point-hand shape, any idea to improve this?

Re: clickable NSImageView

2008-06-17 Thread Tolga Katas
check out, resetCursorRects - (void) resetCursorRects { [super resetCursorRects]; [self addCursorRect: [self bounds] cursor: [NSCursor pointingHandCursor]]; } On Jun 17, 2008, at 8:17 AM, Angelo Chen wrote: Hi, I use the code at the end to let user click on an image and o

Re: clickable NSImageView

2008-06-17 Thread I. Savant
> I use the code at the end to let user click on an image and open a URL, this > works, but not really satisfactory as when the mouse is moved over the image, > the cursor was not changed to point-hand shape, any idea to improve this? > Thanks, Have you taken a second to search the documentat

clickable NSImageView

2008-06-17 Thread Angelo Chen
Hi, I use the code at the end to let user click on an image and open a URL, this works, but not really satisfactory as when the mouse is moved over the image, the cursor was not changed to point-hand shape, any idea to improve this? Thanks, Angelo @interface BannerView : NSImageView { } -