Controlling cocoa windows hit test
Controlling cocoa windows hit test
- Subject: Controlling cocoa windows hit test
- From: Tristan Genevet <email@hidden>
- Date: Thu, 19 Nov 2009 17:04:04 +0100
Hi,
I'm looking for a way to control hit testing on a cocoa transparent
window. The default behavior, as I understood it, is that if a pixel
is not entirely transparent, then the click occured in the window. I
would like to have more control over this, so a click in my custom
drop shadow don't cause my window to become key. Can you think of a
way/hack to make this happen, something like kEventWindowHitTest in
carbon ?
Thanks,
Tristan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden