I have a window with two canvases that are drop targets. I have enabled AcceptFileDrop on both in their Open events and they work properly on Linux and macOS. However, on Windows, I instantly get the NOT symbol when I drag a folder or drive from the Desktop to the Parent Window.
Okay, maybe the parent is blocking, so I then added the AcceptFileDrop to the Window in its open event. Still no problem on Mac and Linux, but still failing with the NOT symbol on Windows.
I have made sure that the app is not running with elevated permissions.
Are you using the console remote debug stub on Windows? If I remember correctly, it works only when using the desktop version.
D&D works here correctly in a built app.
I’m using the special/disk and special/folder as defined in the File Type Set I’ve defined. I only want to accept folder/directories or volumes. Also, see my thread on the file type set error:
Can you replicate it on a brand new test project and upload it, I’m having issues reproducing it here, its working for me (it allows the drop), however it seems like it accepts anything.
I’ve not checked it on macOS and Linux yet, but on Windows it works for me only if I use me.AcceptFileDrop("????"). Then Drag & Drop works for every file and folder.