• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
addTrackingRect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: resetting ivars safely
  • Next by Date: Re: custom view won't update
  • Previous by thread: Re: Recreating Finder launch animation
  • Next by thread: [MEET] CocoaHeads Silicon Valley: Objective-C 2.0 TONIGHT
  • Index(es):
    • Date
    • Thread