How to make a transparent NSView answer events
How to make a transparent NSView answer events
- Subject: How to make a transparent NSView answer events
- From: Giovanni Donelli <email@hidden>
- Date: Sat, 10 Apr 2004 21:18:13 +0200
Hello Gurus!
I have NSImageView. For some reasons I subclassed it and now it works
more or less like a button answering to mouseDown events.
Now the problem is that my NSImageView shows an image with an alpha
channel which has only 10% opaque area. Because the opaque area is
pretty small and narrow, it not easy to click on my fake button because
I don't get the mouse down when the user clicks on a transparent point,
even this point is inside the NSImageView frame.
Anyone knows how to make a NSView to answer events in all the area of
his frame despite this area is transparent?
Thank you for your help... and Happy Easter to you and your families!
Giovanni Donelli
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.