Re: detecting mouseDrag event in NSView
Re: detecting mouseDrag event in NSView
- Subject: Re: detecting mouseDrag event in NSView
- From: Andrew Farmer <email@hidden>
- Date: Wed, 27 Sep 2006 09:00:26 -0700
On 27 Sep 06, at 04:44, sheen mac wrote:
Is there any way to detect mouse dragged event in NSView.
I used the mouseDragged event but it is not working.
In light of your other question, do note that mouseDragged
is sent when the mouse is clicked, then dragged within the
view, not when a file is dragged and dropped into it.
Drag and drop of files is handled separately; you may want
to read Apple's "Drag And Drop Programming Topics For Cocoa"
(which is available on your machine) for details on how to
implement it in your application.
_______________________________________________
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