Re: Drag NSImage in a NSView
Re: Drag NSImage in a NSView
- Subject: Re: Drag NSImage in a NSView
- From: "Joshua Pennington" <email@hidden>
- Date: Mon, 14 May 2007 21:49:28 -0500
You'll take the delta movements from the mouse-dragging event and use
that to offset the NSImage's position.
Handling mouse dragging operations:
<http://developer.apple.com/documentation/Cocoa/Conceptual/EventOverview/HandlingMouseEvents/chapter_5_section_4.html>
On 5/14/07, Matt <email@hidden> wrote:
How can I make it so when the user click on the image and drags, the image will
change its location.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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