Drag and Drop (and clipboard)



Hi,

I'm trying to implement drag and drop support in our application, and I'm having a hard time testing drop support for graphics because I can't find an application that drops graphics. Or of course I've got it so wrong it is ignoring me. I can drop text, but everything just gives me text (or a url for the graphic, or other lame bits). It may be I don't have the right mime types registered, but I don't think so.

So, the first question, is there some way I can tell what mime types an application is willing to drop (or accept a drag for?) so I can tell what I should be reasonably expecting?

Plus it would help to know what apps are excepting so I can figure out if I should be making any other formats available. So can I find out what targets "drop zones" are excepting?

Lastly, is there no way to push data to the clipboard so my application can quit and still have contents on the clipboard? Or do I need to spawn some kind of clipboard process that waits around with the data until it is no longer the owner? If that is the only way to go, anyone have some good place for me to start?

Sorry for the load of questions, any and all answers welcome!

Deron


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]