• 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
Re: Tracking mouse activity in NSToolbar?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracking mouse activity in NSToolbar?


  • Subject: Re: Tracking mouse activity in NSToolbar?
  • From: j o a r <email@hidden>
  • Date: Tue, 6 May 2003 22:01:35 +0200

You should be able to achieve this is if you create your own view type toolbar items that have tracking rects set in the view you provide when you create them?

j o a r

On Tuesday, May 6, 2003, at 21:37 Europe/Stockholm, Jay Koutavas wrote:

I'd like to get mouse enter/exit notification for items in NSToolbar. Seeing that NSToolbar and NSToolbarItem are not children of NSView, I can't simply subclass them to add in a call to addTrackingRect. And, because of the dynamic nature of how the toolbar is added to the window at runtime, I can't define a containing view to do the tracking either. There seems to be no obvious notification/delegation for mouse movement in NSToolbar or NSToolbarItem.

How would one go about doing tracking for a toolbar?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Tracking mouse activity in NSToolbar?
      • From: Jay Koutavas <email@hidden>
References: 
 >Tracking mouse activity in NSToolbar? (From: Jay Koutavas <email@hidden>)

  • Prev by Date: Tracking mouse activity in NSToolbar?
  • Next by Date: what's the topmost NSWindow level
  • Previous by thread: Tracking mouse activity in NSToolbar?
  • Next by thread: Re: Tracking mouse activity in NSToolbar?
  • Index(es):
    • Date
    • Thread