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

    Joined:
    Jul 1, 2010
    #1
    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

    kainjow

    Joined:
    Jun 15, 2000
    #2
    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