Simulate Drag/Drop into separate application
I have a 3rd party application that allows me to drag/drop files into it from windows explorer. However, it's a bit annoying if I want to drag/drop files from different folders - it's one drop for each folder.
I want to write a c# application that will simulate a drag/drop action into this separate application, as if I've dropped files into it from windows explorer. Basically, one big drop of dozens of files from anywhere, all at once. Is this possible to do? I think I'll have to do some kind of windows api call, but I'm not sure where to begin looking.
4 Replies
Interesting, pretty much exact same question was asked previously
https://discord.com/channels/143867839282020352/1273753758605643846/1273753758605643846
Oh didn’t see that. I’ve done lots of google searching, forgot to search here first. Doesn’t look like it was resolved though
WM_DROPFILES message (Winuser.h) - Win32 apps
Sent when the user drops a file on the window of an application that has registered itself as a recipient of dropped files.
Thank you for that. Let me see if I can figure that out