So, do you mean that overriding -isOpaque and returning YES allows you to have a transparent view which still catches mouse clicks?

Ron

On 13/04/2008, at 3:10 AM, Greg Hoover wrote:
I hadn't implemented the isOpaque method on my custom views. This did the trick, at least for my situation.

Thanks.

On Apr 12, 2008, at 1:19 AM, Ron Fleckner wrote:


On 12/04/2008, at 9:54 AM, Greg Hoover wrote:
Is there a way to prevent click through on a transparent view?

Greg

Not really the answer you're looking for, but a workaround is to set the colour of the view to be white, then set the transparency to 5%. Anything less than 5% allows click-through. This works on my Tiger system.

Ron
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to