RE: dragging to move objects around?
RE: dragging to move objects around?
- Subject: RE: dragging to move objects around?
- From: Erik Buck <email@hidden>
- Date: Wed, 22 Jul 2009 08:21:45 -0700 (PDT)
I didn't see any actual question. I think you also need to post more code if you want anything better than wild guesses about what you are doing.
Start here: http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/DragandDrop.html
I assume you are using - (void)dragImage:(NSImage *)anImage at:(NSPoint)imageLoc offset:(NSSize)mouseOffset event:(NSEvent *)theEvent pasteboard:(NSPasteboard *)pboard source:(id)sourceObject slideBack:(BOOL)slideBack
What offset are you using, and does that account for changes in x position?
_______________________________________________
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