Re: Need the Why and How of mouseDragged:
Re: Need the Why and How of mouseDragged:
- Subject: Re: Need the Why and How of mouseDragged:
- From: Jerry Krinock <email@hidden>
- Date: Thu, 13 Dec 2007 10:21:07 -0800
On 2007 Dec, 13, at 9:47, Alastair Houghton wrote:
If you don't have the code for the superview, and it doesn't have
sufficient hooks, it's a bit of a nuisance but you can often re-
implement the mouse tracking in the subview (depending on what it
does).
Thanks again, Alastair. I sure don't have the code for the
superview. In my second instance, the superview is NSView, the
content view of an NSWindow.
Let me summarize my previous message in fewer words: I "solved" it,
but the solution doesn't make sense.
To get mouseDragged:, I must either setEnabled:NO or ^not^ invoke
super in mouseDown:.
How could setEnabled:YES cause me to not get mouseDragged: ?
Jerry
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden