I just tried playing with the browser plugin demo and tried to get drag and drop working. I tried both Component::filesDropped and deriving the demo plugin from FileDragAndDropTarget. Neither worked. To verify I was implementing drag and drop correctly I created a simple component and tried it. Component::filesDropped didn’t work, but deriving from FileDragAndDropTarget did work. As for the plugin, it appeared interested in the dragged files (image turned into plus sign), but neither FileDragAndDropTarget::isInsterestedInFileDrag, FileDragAndDropTarget::dragEnter, nor FileDragAndDropTarget::filesDropped were invoked.
What is posting the “interested in files” image? Also, won’t the browser sandbox prevent drag and drop from working? For example, from IE, you can’t drag files onto a desktop application. Any ideas are appreciated.
BTW: I’m using Juce vintage 03 Dec 09 running on Windows XP and tried the plugin with both IE 7 and Firefox.