C
C#4mo ago
Camster

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
Buddy
Buddy4mo ago
Interesting, pretty much exact same question was asked previously https://discord.com/channels/143867839282020352/1273753758605643846/1273753758605643846
Camster
CamsterOP4mo ago
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
Buddy
Buddy4mo ago
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.
Camster
CamsterOP4mo ago
Thank you for that. Let me see if I can figure that out
Want results from more Discord servers?
Add your server