Exploiting the Wimp (Part 5)
by Mike Ironmonger

The example application given this month implements the loading of data via RAM transfer.

The application installs itself on the icon bar. When a file is dragged onto its icon from an application that can transfer via RAM, the file will be transferred directly to the program. An error box will then appear showing the first 100 printable bytes of the file.

To keep the program short, it only loads data directly from other applications via RAM. Thus, for example, dragging a file from a disc to the icon will not perform a transfer, but saving from Edit to the icon will.

 RISC User 1992
