Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to catch and open files dragged and dropped on an application icon?

How to open a document that was dragged and dropped on the application icon?

like image 746
Srdjan Vukmirica Avatar asked Oct 26 '11 22:10

Srdjan Vukmirica


1 Answers

The filename of the document dropped on your EXE is found in ParamStr(1).

like image 67
Andreas Rejbrand Avatar answered Oct 22 '22 22:10

Andreas Rejbrand