addTrackingRect
addTrackingRect
- Subject: addTrackingRect
- From: Lorenzo <email@hidden>
- Date: Thu, 13 Sep 2007 19:50:48 +0200
Hi,
I am creating a kind of graphic menu with some buttons.
When I click on the menu button I create a NSWindow and I fill it with some
buttons (NSViews).I have added the rollover effect to each button with
addTrackingRect to their superview.
The rollover works well when I click on the menu button, the menu (NSWindow)
appears, I release the mouse button then I move the mouse over the various
buttons. But if I don't release the mouse button, the rollover doesn't work.
mouseEntered and mouseExited in the buttons class don't get called.
Any idea?
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
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