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