Tracking mouse activity in NSToolbar?
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.