addTrackingRect

  • 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: <archidea...>
previous month september 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today