• 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
how to receive a Cocoa drag in a Carbon app using regular Drag Manager?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to receive a Cocoa drag in a Carbon app using regular Drag Manager?


  • Subject: how to receive a Cocoa drag in a Carbon app using regular Drag Manager?
  • From: Daniel Morrow <email@hidden>
  • Date: Wed, 13 Oct 2004 10:22:57 -0400

I assume there's a technote about this somewhere, but I'm having trouble finding it.

I have two apps. One is a Cocoa app which contains a table view, and I want to drag items from that table to another app. Dragging them out in Cocoa is pretty easy.

The other app is Adobe InDesign. It appears that InDesign is using regular Drag manager calls. I'm writing an InDesign plugin. InDesign gives me a way to get the DragReference. Which appears valid.

I ask it how many items are in the dragref. It tells me 1, so far, so good. Next I get the DragItemRef, and it oddly always has the address "0x000C0C0A". Which is amusing. But I really need to get the data out of it.

Is there a way to do this? I can change the code in the Cocoa app, which I'm writing. But I have to use a DragReference on the InDesign side. Any ideas?

-Dan.

P.S. - Sorry to post this to two lists, but I guess there aren't too many people working in both worlds simultaneously like this.

_______________________________________________
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
  • Prev by Date: tooltip doesn't appear until losefocus/gainfocus
  • Next by Date: Re: Help with pixellated NSTIFFRepresentation issues much appreciated
  • Previous by thread: tooltip doesn't appear until losefocus/gainfocus
  • Next by thread: Re: how to receive a Cocoa drag in a Carbon app using regular Drag Manager?
  • Index(es):
    • Date
    • Thread