Since I’ve updated to the tip some time ago, I’m seeing weird behavior with DnD not always detected.
Depending on how fast I enter the DnD in my Window, it is either seen or not.
When it doesn’t work the first handleFileDragMove (from a JuceDropTarget::DragEnter) do not find any component as the x is equal -2 after that I never received any JuceDropTarget::DragOver.
You can easily reproduce it using Juce Demo and the code editor demo trying to DnD a file on the combo like file selector
Ah, I see. It seems that in the JuceDropTarget::DragEnter class, it should always return S_OK, otherwise Windows gives up and doesn’t bother asking again. Thanks!