views and mouse events troubles
views and mouse events troubles
- Subject: views and mouse events troubles
- From: Ivan Kourtev <email@hidden>
- Date: Wed, 25 Oct 2006 14:54:57 -0400
Could someone please help and explain (or point to a document which
explains) under what conditions do multiple views get the same mouse
event? I have a view containing another and when I click on the
contained view both it and the containing view get the mouse event.
Is that normal? Based on all the docs I've read only one view should
get the mouse event, or am I wrong to assume so?
I tried many combinations (creating and inserting views into the
hierarchy programmatically, or via IB, etc.) and nothing seems to
affect things. If I have N number of views under the mouse pointer
(contained into each other), then all N of them get the mouse event.
All view are non-transparent, and completely draw their background.
Thanks for any help..
-- ivan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden