NSCollection view item not receiving mouse events after redisplay
NSCollection view item not receiving mouse events after redisplay
- Subject: NSCollection view item not receiving mouse events after redisplay
- From: Matteo Manferdini <email@hidden>
- Date: Fri, 17 Jul 2009 18:13:09 +0200
Hi everyone,
I already tried to look for this one on Google, but had no luck.
I have in my app a NSCollectionView that displays a sort of calendar
of events, represented by custom views. In these views I make the
delete X button appear on mouseEntered: and mouseMoved: events.
Everything works fine until I delete one of the items.
The item disappears and the NSCollectionView moves other items to fill
the gap, so another item moves under the mouse pointer.
My problem is that this item does not receive mouseMoved events
anymore. I have to move the mouse pointer out of the view and then in
again to make it work again.
I hope I explained it well!
Does anybody have some suggestions?
Thank you very much.
Cheers.
--
Matteo Manferdini
Pawn Software
www.pawn-soft.com
_______________________________________________
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