Hi, I'm trying to get the following events to trigger: - (void)mouseEntered:(NSEvent *)theEvent - (void)mouseExited:(NSEvent *)theEvent
I'm using this call to get it to work: [[mWindow contentView] addTrackingRect:[mWindow frame] owner:[mWindow contentView] userData:nil assumeInside:NO]; I've also tried: [[mWindow contentView] addTrackingRect:[mWindow frame] owner:mWindow userData:nil assumeInside:NO]; mWindow is a custom NSWindow and the content view attached is also a custom NSView. I've defined the above event handlers in both custom classes and set breakpoints, print messages, etc. but despite who I set as owner of the tracking rect, I can't get the events to trigger. Is there something else I have to do? thanks, wes _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]