Hello. I'm having a bit of trouble implementing an external drag and drop. I've called the function in MouseDrag(), but it's not working as expected. The little hand symbol comes up, and the following call produces true for the first pixel of drag movement, then false for the rest. Am I going about it all wrong, or is it an issue with me using Linux (I don't have a Windows machine to test on at the minute)? My Component inherits DragAndDropContainer.
Cheers
void Draggy::mouseDrag (const MouseEvent &event)
{
StringArray sArray;
sArray.add("~/Desktop/HMA.txt");
bool res = DragAndDropContainer::performExternalDragDropOfFiles(sArray, false);
if (res == true)
{
DBG("TRURUR");
}
else
{
DBG("FALSE");
}
}