Creating an Ultra-SiMPLE
"Drag-and-Drop" Program


One of the cool features of Windows is its "Drag-and-Drop" capability. (For example, if you want to use the MSPAINT program to edit an image file, all you have to do is drag the image file's icon onto a shortcut to the MSPAINT program.)

You can implement this same "Drag-and-Drop" feature into your SiMPLE programs as well. Doing so is merely an extension of the ideas discussed in "Passing Calling Parameters to an Ultra-SiMPLE Program". To pass a data file's path to an Ultra-SiMPLE program, just drag the data file's icon onto the program's shortcut (see: "Creating a Shortcut to an Ultra-SiMPLE Program"). The path to the data file will be returned by Param(1).



  [ Webmaster | FAQ's | Home Page | Contact Us ]