hi i can handle message from NSView ? or handle mouseOver on NSStatusitem

Discussion in 'Mac Programming' started by artbeat.easy, Jul 1, 2010.

  1. artbeat.easy macrumors newbie

    Jul 1, 2010
    Hi all ))
    i have NSStatusitem on my app and i want get NSView ( [statusItem view] ) and handle mouseOver (mouseMove) message on MY @selector in my class
    but I could not find help in google and Developing reference (
  2. kainjow Moderator emeritus


    Jun 15, 2000
    Take a look at NSTrackingArea. Create it, add it to your view and implement the moveMoved, mouseEntered and mouseExited methods (or whichever ones you want).

Share This Page