• 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: drop location
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drop location


  • Subject: Re: drop location
  • From: Koen van der Drift <email@hidden>
  • Date: Sat, 19 Jun 2004 17:26:00 -0400

On Jun 19, 2004, at 2:56 PM, Louis C. Sacha wrote:

NSPoint drawLocation = [destinationView convertPoint:[sender draggingLocation] fromView:nil];
[[[self document] drawing] addItemWithName: itemTag atLocation: drawLocation];



Thanks, that did it. After I posted the question I found convertPoint (of course :), but I was using the tableview as the fromView, so it didn't work as expected. Using nil solved it.


- Koen.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >drop location (From: Koen van der Drift <email@hidden>)
 >Re: drop location (From: "Louis C. Sacha" <email@hidden>)

  • Prev by Date: Re: iChat plug-ins?
  • Next by Date: Getting Available iChat Buddies
  • Previous by thread: Re: drop location
  • Next by thread: Re: Making an 'Open with' menu
  • Index(es):
    • Date
    • Thread