Re: [RESOLVED] trouble getting mouseEntered/mouseExited to fire
Re: [RESOLVED] trouble getting mouseEntered/mouseExited to fire
- Subject: Re: [RESOLVED] trouble getting mouseEntered/mouseExited to fire
- From: Carlos Salinas <email@hidden>
- Date: Sun, 24 Jul 2005 13:08:38 -0700
The view should override -viewDidMoveToWindow and add its tracking
rectangle in that method. Doing so will insure that view properly
establishes its tracking rectangle whenever added to a window.
'los
On Jul 23, 2005, at 8:37 PM, Chase wrote:
the problem was that, apparently, the view must be first placed in
a window, and THEN you can add the tracking rect.
so, instead of calling addTrackingRect:owner:userData:assumeInside:
from withing the content view sublass' initWithFrame: method, i
call it from the window init method directly **after** placing it
in the window.
- chase
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden