Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.
Okay, heard that before - or some semblance of it.
Now, as of Noon today, I got about 300 lines into my main() during my first test run of about 2,000 lines of code - failed on a known issue.
But one concepting decision I have not made is (how to accomplish) the dumping (dropping) of feeds onto the 'Program'. Using the shell, the dropping of a selection from a list control onto a shortcut on the desktop ***->could<-*** initiate a paging in of the executable and initation of some action.
This would mean entry somewhere other than main() - or require complex logic (prone to unforseen failure modes) at the entry point main() to determine whether a drag and drop operation had launched the executable or the program had been invoked in the conventional manner.
Rather than lose traction trying to figure this out, does the program have to be already paged in and in process to receive a Drag and Drop event ?
What is the usual form of coding for dnd ?
My current approach, the first approach I thought of, make a sub-directory and require, by program definition, operators load the folder with whatever files they want the program to do something with.