• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: dragging to move objects around?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: When saving the managed object context
  • Next by Date: Re: Recording phone calls
  • Previous by thread: Re: dragging to move objects around?
  • Next by thread: When saving the managed object context
  • Index(es):
    • Date
    • Thread