Drag & Drop
Drag & Drop
- Subject: Drag & Drop
- From: Daniel Todd Currie <email@hidden>
- Date: Tue, 28 Sep 2004 16:40:51 -0700
I'm working on an application in which I would like to be able to
receive drops from pretty much everything that can be dragged.
Naturally, my initial approach was to register for every drag type in
the docs, but there are a couple of gaps. In particular, I am unable
to receive email and calendar drops. Yes, I can get at the calendars
if the user drags the .ics file in from '~/Library/Calendars/', but I'd
prefer that the user could drag straight from iCal (on a side note,
iTunes does this flawlessly; you can drag an mp3 out of iTunes and it
is equivalent to dropping the file itself).
It seems to me that if you can drag it, you should be able to
programatically retrieve the data that is represented by the drag. Are
there some pasteboard types somewhere that I am missing perhaps? Maybe
in some *gasp* private classes somewhere? Maybe Carbon? Or maybe I
can somehow get a memory address and yank it this way?
Comments and ideas apprediated.
-- DTC
_______________________________________________
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