FROM : Daniel Morrow
DATE : Wed Oct 13 16:22:57 2004
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.
DATE : Wed Oct 13 16:22:57 2004
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.
| Related mails | Author | Date |
|---|---|---|
| Daniel Morrow | Oct 13, 16:22 | |
| Daniel Morrow | Oct 13, 17:19 | |
| Daniel Morrow | Oct 13, 21:43 | |
| Daniel Morrow | Oct 13, 21:46 |






Cocoa mail archive

