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

Tracking mouse activity in NSToolbar?


  • Subject: Tracking mouse activity in NSToolbar?
  • From: Jay Koutavas <email@hidden>
  • Date: Tue, 6 May 2003 15:37:21 -0400

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?

Thanks,

/Jay
--
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Jay Koutavas mailto:email@hidden
Heynow Software http://www.heynow.com
Windham, New Hampshire, USA
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
_______________________________________________
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: j o a r <email@hidden>
  • Prev by Date: Re: add row NSTableView
  • Next by Date: Re: Tracking mouse activity in NSToolbar?
  • Previous by thread: Re: Dragging promised files and other types in the same drag
  • Next by thread: Re: Tracking mouse activity in NSToolbar?
  • Index(es):
    • Date
    • Thread