Re: Can't receive mouseMoved: message in custom QCView
Re: Can't receive mouseMoved: message in custom QCView
- Subject: Re: Can't receive mouseMoved: message in custom QCView
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 21 Feb 2006 18:22:42 -0800
On Feb 21, 2006, at 8:09 AM, Kenny Leung wrote:
This works for me:
[magnifier makeFirstResponder:_magnifierView];
[magnifier setAcceptsMouseMovedEvents:YES];
I found that you have to call makeFirstResponder before
setAcceptsMouseMovedEvents. LAME!
No, not at all. When you set the first responder, the window checks
what kind of events that responder takes. This saves the cost of
testing what your view can take before sending it each and every event.
-jcr
John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.
_______________________________________________
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